isexecutorclosure
Returns whether the given function was created by the executor.
function isexecutorclosure(funcfuncfunctionThe function to inspect.: function): booleanbooleantrue if the function originates from executor-space.Usage
Identify executor closures
local myFunc = function() end
print(isexecutorclosure(myFunc)) --> true
print(isexecutorclosure(print)) --> false