NUMBER?

Syntax

NUMBER? object

Explanation

NUMBER? outputs TRUE if its input is a number; otherwise, it outputs 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

?