Whatever message this page gives is out now! Go check it out!
isClosure(object)Parameter | Description |
object | A value. |
<cfscript>
// Non-closure
function1 = 'Hello_World';
writeoutput("Is it closure: " & isClosure(function1) & "<br>");
// Closure
function2 = function () {};
writeoutput("Is it closure: " & isClosure(function2));
</cfscript>