Share

null (AutoLISP)

Product Documentation
Intermediate

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


Was this information helpful?