not
Inverts an expression, so !Pane_.active().isTrue() says what it means.
Source and package
- public operator fun <T : Any> Filter
Expr <T>.not(): FilterExpr <T> -
Description#
There is no matching
andororhere, deliberately. Those are already methods onFilterExpr, and an extension of the same name would be shadowed by the member inside its own body while winning at an infix call site — correct either way, but for a reason no reader should have to work out.a.and(b)is one character longer thana and band always means the thing it appears to.negaterather thannoton the Java side becausejava.util.function.Predicatealready ownsnot, and these expressions are predicates.The bound is
T : Anyrather thanT, and that is not a style choice. The core is@NullMarked, so Kotlin readsFilterExpras `FilterExpr<T : Any>; an unboundedThere would admit a nullable entity the core says cannot exist. Compiled with-Xjspecify-annotations=strict`, so it is an error rather than a warning — this file did not compile until the bound was written.