LIST?

Syntax

LIST? object

Explanation

LIST? outputs TRUE if its input is a list; otherwise, it outputs FALSE.

See also NUMBER? and WORD?.

Examples

? LIST? [GREEN BLUE]

Result: TRUE

? LIST? "GREEN

Result: FALSE

? LIST? []

Result: TRUE

? LIST? 34

Result: FALSE

? LIST? SENTENCE "ROCKY "ROAD

Result: TRUE

?