or
(or [ exprA [ exprB ... ] ] )
This function returns the result of the
logical OR operation using provided exprA exprB
... arguments.
Arguments |
exprA any Lisp value or expression |
Return |
T if any provided argument evaluates as non-NIL; if all provided arguments evaluate as NIL, or if no argument is provided, NIL is returned |
Example |
(or 123 nil)
T |
Remarks |
the (or) function uses "lazy evaluation" - evaluation is stopped for the first non-NIL item (from left to right), therefore subsequent items or expressions (after the first non-NIL item) are not processed |
© Bricsys NV. All rights reserved. |