Skip to content

Check equality

Source code

Description

Method equivalent of addition operator expr + other.

Usage

<Expr>$eq(other)

Arguments

other numeric or string value; accepts expression input.

Value

Expr

See Also

Expr_eq_missing

Examples

library("polars")

pl$lit(2) == 2
#> polars Expr: [(dyn float: 2.0) == (dyn float: 2.0)]
pl$lit(2) == pl$lit(2)
#> polars Expr: [(dyn float: 2.0) == (dyn float: 2.0)]
pl$lit(2)$eq(pl$lit(2))
#> polars Expr: [(dyn float: 2.0) == (dyn float: 2.0)]