KScript docs
EN

bool fields and methods

true and false.

A field is a plain fact about the value, read with a dot and no brackets: $value.name. A method takes arguments or does work, and is called with ->: $value->name(arguments), or with the value piped in: $value |> name(arguments).

From KScript.Core

#bool->not() → bool

The opposite bool.
Example
<echo>{ true->not() }</echo>
echo true->not()

Methods from any