VINDICTA.TOP
Closures · Function
Bunni.fun
ChocoSploit
Cryptic
Potassium
Seliware
SirHurt
Solara
Velocity
Volcano
Volt
Wave
Xeno

iscclosure

Returns whether the given function is a native C closure.

function iscclosure(funcfuncfunctionThe function to inspect.: function): booleanbooleantrue if the function is a C closure.

Usage

Check closure type
print(iscclosure(print))             --> true
print(iscclosure(function() end))    --> false
print(iscclosure(newcclosure(function() end))) --> true