Skip to content

Indicate if this expression is the same as another expression

Description

Indicate if this expression is the same as another expression

Usage

<Expr>$meta$eq(other)

Arguments

other Expression to compare with.

Value

A polars expression

Examples

library("polars")

foo_bar <- pl$col("foo")$alias("bar")
foo <- pl$col("foo")
foo_bar$meta$eq(foo)
#> [1] FALSE
foo_bar2 <- pl$col("foo")$alias("bar")
foo_bar$meta$eq(foo_bar2)
#> [1] TRUE