[[modding:function:not]] === not === [[modding:function: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**. If there is no expression, then always **Nil** | ^ Category | [[logical operator functions|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