1.107 class not

Class not defines negation of conditional statements. When executed, it executes its argument and fails if the argument is executed with success. See class code for more general information on executable objects.

See also
- class code
- class and
- class or
- topic Conditions

1.107.1 Instance variables

not <-> argument: code
Conditional code object whose result is to be negated.

1.107.2 Send methods

not ->initialise: test=code
Create from a single conditional test.
not ->_execute:
Execute the argument and succeed if and only if it fails.