not
Inverts an expression, so !Pane_.active().isTrue() says what it means.
Source and package
- Qualified name
-
io.github .libtmux .query .Filter Expr. not - Package
- io.github.libtmux.query.FilterExpr
- Distribution
- io.github.libtmux:libtmux-kotlin
- Source
- libtmux-kotlin/src/main/kotlin/io/github/libtmux/kotlin/Filters.kt
- 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 readsFilterExprasFilterExpr<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.
Recorded calls
source callsThe Kotlin reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls io.github.libtmux.query.FilterExpr.not.