procedurep
procedurep( g_obj ) =>t/nil
Description
Checks if an object is a procedure, or function, object.
A procedure may be a function object defined in SKILL or SKILL++, or system primitives. Symbols are not considered procedures even though they may have function bindings.
Arguments
Value Returned
Examples
(procedurep 123 )
=> nil
(procedurep (getd 'plus))
=> t
(procedurep 'plus)
=> nil
Related Topics
Function and Program Structure
Return to top