modding:function:not
This is an old revision of the document!
not
| Syntax | (not exp) → True/Nil |
|---|---|
| Arguments | exp: The expression you want to negate. |
| Returns | condition: True if the expression evaluates to Nil, otherwise Nil. |
| Category | logical operator |
| Description | Returns the logical negation of the expression. |
Example
(not Nil) -> True (not True) -> Nil (not (eq 1 2)) -> True (not (gr 2 1)) -> Nil (not 5) -> Nil (not "foo") -> Nil (not not) -> Nil
Return to Functions list
modding/function/not.1485571591.txt.gz · Last modified: by 0xabcdef
