![[HARLEQUIN]](../Graphics/Harlequin-Small.gif)
![[Previous]](../Graphics/Prev.gif)
![[Up]](../Graphics/Up.gif)
![[Next]](../Graphics/Next.gif)
Syntax:
not x => boolean
Arguments and Values:
x---a generalized boolean (i.e., any object).
boolean---a boolean.
Description:
Returns t if x is false; otherwise, returns nil.
Examples:
(not nil) => T (not '()) => T (not (integerp 'sss)) => T (not (integerp 1)) => NIL (not 3.7) => NIL (not 'apple) => NIL
Side Effects: None.
Affected By: None.
Exceptional Situations: None.
See Also:
Notes:
not is intended to be used to invert the `truth value' of a boolean (or generalized boolean) whereas null is intended to be used to test for the empty list. Operationally, not and null compute the same result; which to use is a matter of style.
![[Starting Points]](../Graphics/Starting-Points.gif)
![[Contents]](../Graphics/Contents.gif)
![[Index]](../Graphics/Index.gif)
![[Symbols]](../Graphics/Symbols.gif)
![[Glossary]](../Graphics/Glossary.gif)
![[Issues]](../Graphics/Issues.gif)