null
 
 
 

Verifies that an item is bound to nil

(null item)

Arguments

item

An AutoLISP expression.

Return Values

T if item evaluates to nil; otherwise nil.

Examples

Command: (setq a 123 b "string" c nil)

nil

Command: (null a)

nil

Command: (null b)

nil

Command: (null c)

T

Command: (null '())

T

See Also