null

(null argument)

The function null returns T (True) if the argument is an empty list (bound to nil); otherwise, it returns nil.

Examples

: (setq x 32)

32

: (null x)

nil

: (setq x nil)

nil

: (null x)

T

: (setq x '())

nil

: (null x)

T