Core Function isVarFunction
From Sputnik Wiki
isVarFunction( $variable )
Contents |
Description
Checks if a variable is a function type.
Parameters
variable
The variable to check.
Return Value
Success: Returns true.
Failure: Returns false.
Remarks
None.
Example
$var1 = Function(){}; println( "Is it?: " . isVarFunction($var1) ); // Alternative println( $var1 is Func ); // Alternative println( $var1 ~~ Func );