NAME?

Syntax

NAME? name

Explanation

NAME? outputs TRUE if the input is a name of a variable; otherwise; it outputs FALSE.

See also LIST?, NUMBER?, and WORD?.

Examples

? NAME? "ANIMAL

Result: FALSE

? MAKE "ANIMAL "CAT

? NAME? "ANIMAL

Result: TRUE

?