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

islclosure

Returns whether the given function is a Luau closure.

function islclosure(funcfuncfunctionThe function to inspect.: function): booleanbooleantrue if the function is a Luau closure.

Usage

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