Determine whether an item is nil.
This function determines whether item is nil. If it is nil, a T is returned. If it is not nil, nil is returned.
Examples
Code | Returns |
---|---|
(not "Yes!") | nil |
(not (> 5 6)) | T |
NOTE The not and the null functions are very similar. The difference is that null checks whether the item is bound to nil. Null is meant for testing for empty lists.
Tell me about...
Programming Overview of LISP (LISt Processing) Language
Bricscad™ is commercialized by Bricsys NV. Bricsys NV and Vondle NV are fully owned subsidiaries of Menhirs NV. © 2001- Menhirs NV - All rights reserved. |