sgs_IsCallable(P) [functions]
SGSBOOL sgs_IsCallable( sgs_Context* C, sgs_StkIdx item )
Returns whether the specified stack item item is callable.
- If
itemis out of bounds, 0 is returned.
SGSBOOL sgs_IsCallableP( sgs_Variable* var )
Returns whether the specified variable var is callable.
- Callable variables are either SGS functions or C functions or objects with the CALL interface implemented.
