Skip to content

Check strictly greater inequality

Source code

Description

Method equivalent of addition operator expr + other.

Usage

<Expr>$gt(other)

Arguments

other numeric or string value; accepts expression input.

Value

Expr

Examples

library(polars)

pl$lit(2) > 1
#> polars Expr: [(2.0) > (1.0)]
pl$lit(2) > pl$lit(1)
#> polars Expr: [(2.0) > (1.0)]
pl$lit(2)$gt(pl$lit(1))
#> polars Expr: [(2.0) > (1.0)]