unaryMinus

context(environment: Environment<T, P>)
operator fun <T, P : Position<P>> TerminationPredicate<T, P>.unaryMinus()

Registers this TerminationPredicate into the current Environment.

This operator enables concise DSL statements by interpreting -predicate as "add this predicate as a terminator to the current environment".

Receiver

the termination predicate to register.