getFunType
getFunType(u_functionObject) =>s_functionObject_type
Description
Returns a symbol denoting the function type for a given function object. Possible function types include lambda, nlambda, macro, syntax, or primop.
Arguments
Value Returned
|
Possible return values include |
|
Examples
getFunType( getd( 'sin ))
=> lambda
getFunType( lambda( (x y) x+y ))
=> lambda
getFunType( getd( 'breakpt ))
=> nlambda
getFunType( getd( 'if ))
=> syntax
getFunType( getd( 'plus ))
=> primop
Related Topics
Function and Program Structure
Return to top