Check if two expressions are different
Description
Indicate if this expression is different from another expression. See
also the counterpart $meta$eq()
.
Usage
<Expr>$meta$neq(other)
Arguments
other
|
Expr to compare with |
Value
A logical value
Examples
library("polars")
# three naive expression literals
e1 = pl$lit(40) + 2
e2 = pl$lit(42)
e3 = pl$lit(40) + 2
# e1 and e3 are identical expressions
e1$meta$neq(e3)
#> [1] FALSE
#> [1] FALSE
#> [1] TRUE