IsCustomFunction()
Determines whether a name represents a custom function
IsCustomFunction( name=any, type=string );
Returns: Boolean
Examples
writeDump(isCustomFunction(realUDF));
writeDump(isCustomFunction(xxx));
testFun = realUDF;
X = 1;
writeDump(isCustomFunction(testFun));
writeDump(isCustomFunction(X))
function realUDF() {
return 1;
}
function xxx(void) {}
See also
- Components (CFCs)
- Decision logic
- IsClosure()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)