isnewcclosure
Returns whether a function is the result of a newcclosure call.
function isnewcclosure(funcfuncfunctionThe function to check.: function): booleanbooleantrue if the function was created by newcclosure.Usage
Check newcclosure
function a()
print("Hello World!")
end
print(isnewcclosure(a)) --> false
local b = newcclosure(a)
print(isnewcclosure(b)) --> true