|
From: | Drew Adams |
Subject: | RE: is there an existing negate function ? |
Date: | Mon, 9 Mar 2009 23:36:54 -0700 |
> is there an existing negate function ? something like this > that I have no found ? > > (defun negate ( value ) > "negate VALUE - Invert the boolean sense of VALUE > 0 -> 1 > 1 -> 0" > (if value nil t)) I'll bite. ;-) Is `not' (aka `null') what you mean? (not nil) -> t (not 'non-nil) -> nil
[Prev in Thread] | Current Thread | [Next in Thread] |