is_callable [function]
is_callable( var )
returns whether the variable var
is callable - a function (func/cfunc) or an object with OP_CALL defined
- this function is equivalent to sgs_IsCallable in the C API
is_callable( print ); // returns 'true' is_callable( function(){} ); // returns 'true' is_callable( 5 ); // returns 'false'