onep
onep(g_value) =>t/nil
Description
Checks whether the given object is equal to one. onep is a predicate function.
Arguments
|
A SKILL object that is either a floating-point number or an integer. |
Value Returned
Examples
onep( 1 )
=> t
onep( 7 )
=> nil
onep( 1.0 )
=> t
Related Topics
Return to top