Verifies that an item is an atom
(atom item)
Arguments
Any AutoLISP element.
atom, so be careful when converting from non-AutoLISP code.
Some versions of LISP differ in their interpretation ofReturn Values
Nil if item is a list; otherwise T. Anything that is not a list is considered an atom.
Examples
Command: (setq a '(x y z))
(X Y Z)
Command: (setq b 'a)
A
Command: (atom 'a)
T
Command: (atom a)
nil
Command: (atom 'b)
T
Command: (atom b)
T
Command: (atom '(a b c))
nil