User Tools

Site Tools


modding:function:not

This is an old revision of the document!


not

not

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

Return to Functions list

modding/function/not.1419655255.txt.gz · Last modified: 2017/01/28 02:46 (external edit)