numberp
numberp(g_value) =>t/nil
Description
Checks if a data object is a number, that is, either an integer or floating-point number.
The suffix p is usually added to the name of a function to indicate that it is a predicate function.
Arguments
Value Returned
Examples
numberp( 3 )
=> t
numberp('isASymbol)
=> nil
numberp( 3.5)
=> t
Related Topics
Logical and Relational Functions
Return to top