true when fn is a C closure: a function backed by a native function
pointer rather than compiled Luau bytecode.
Parameters
function
required
The function to classify.
Returns
boolean
true for a C closure, false for a Luau closure.Behavior
Engine functions (print, warn, most of game’s methods) and
newcclosure wrappers are C closures. Functions you
define in Luau are not.
Example
Errors
Related
islclosure: the inverse test.isnewcclosure: specifically an Athena wrapper.