![]() |
|
|
NLI: Function: not Background: NLI, Expressions, Functions Related: Examples Description: The not function gets all atomic things in db that are not specified by function's inputs. General Format: (not [expr1] ...) Examples: (; Gets every atomic thing in db) (not) (; Gets things in db except red) (not red) (; Gets things whose color is not red) (get * color (not red)) (; Gets fruits whose color is neither red or green) (and (get fruit instance *) (get * color (not red green))) Notes: Use the not function sparingly because it is time-consuming and can return things unanticipated by user. |