fboundp
fboundp(s_functionName) =>g_definition/nil
Description
Returns the function binding, if defined, for a specified function name.
The function examines only the current function binding and does not check for any potential definitions from autoloading. fboundp can be considered as an alias to getd.
Arguments
Value Returned
Examples
fboundp( 'xyz )
=> nil ;assuming there is no function named xyz
fboundp( 'defstruct )
=> funobj:0x261108 ;a non-nil result
fboundp( 'cadr )
=> lambda:cadr
fboundp( 1 )
=> nil
Related Topics
Function and Program Structure
Return to top