EMPTY?

Syntax

EMPTY? word or list

Explanation

EMPTY? outputs TRUE if the input is the empty word (" ) or the empty list ([]); otherwise, it outputs FALSE.

Examples

? EMPTY? [3 26 56]

Result: FALSE

? MAKE "FRUIT "

? EMPTY? :FRUIT

Result: TRUE

? MAKE "FRUIT [PAPAYA]

? EMPTY? :FRUIT

Result: FALSE

? EMPTY? BUTFIRST :FRUIT

Result: TRUE

?