NUMBER?
Syntax
NUMBER? object
Explanation
NUMBER? reports
TRUE
if its input is a number; otherwise it reports
FALSE
.
See also
LIST?
,
NAME?
, and
WORD?
.
Examples
NUMBER? 41
Result: TRUE
NUMBER? [41]
Result: FALSE
NUMBER? FIRST [41]
Result: TRUE
NUMBER? 4.1
Result: TRUE