iscclosure
Returns true when the function is a C closure, implemented natively rather than in Luau.
Signature
iscclosure(fn: (...any) -> ...any): booleanParameters
fnfunctionThe function to test.
Returns
boolean
Example
print(iscclosure(print)) --> true
print(iscclosure(function() end)) --> false