Skip to content

not

Description

To negate any condition, use not.

Unknown values

not follows three-valued logic: not true is false, not false is true, and not unknown stays unknown - if we do not know the underlying value, we cannot know its negation either.

Example

p is Person
not p.domicile = ch

This simply gets you the opposite result from using p.domicile = ch . If the person in the case does not live in Switzerland, this condition evaluates as true.