Skip to content

Negate a boolean expression

Source code

Description

Method equivalent of negation operator !expr.

Usage

<Expr>$not()

Value

Expr

Examples

library(polars)

# two syntaxes same result
pl$lit(TRUE)$not()
#> polars Expr: true.not()
!pl$lit(TRUE)
#> polars Expr: true.not()