StartIntroduction
sUNC Reference
Closures
checkcallerclonefunctiongetfunctionhashhookfunctionhookmetamethodiscclosureisexecutorclosureislclosureloadstringnewcclosurerestorefunction
Debug
Drawing
Encoding
Environment
Filesystem
Instances
Metatable
Miscellaneous
Reflection
Scripts
Signals
WebSocket
Related to sUNC docsOfficial reference
Closuresiscclosure
Closures

iscclosure

Checks whether a function is a C closure.

Related to sUNC documentation

This page follows the official sUNC reference.

Signature

Luau
function iscclosure(func: (...any) -> (...any)): boolean

Returns

true when the function is a C closure.

PrevioushookmetamethodNextisexecutorclosure
On this pagesUNC sourceSignatureReturns