Skip to content

Apply logical OR on two expressions

Source code

Description

Combine two boolean expressions with OR.

Usage

<Expr>$or(other)

Arguments

other numeric or string value; accepts expression input.

Value

Expr

Examples

library("polars")

pl$lit(TRUE) | FALSE
#> polars Expr: [(true) | (false)]
pl$lit(TRUE)$or(pl$lit(TRUE))
#> polars Expr: [(true) | (true)]