Skip to content

Apply logical AND on two expressions

Source code

Description

Combine two boolean expressions with AND.

Usage

<Expr>$and(other)

Arguments

other numeric or string value; accepts expression input.

Value

Expr

Examples

library("polars")

pl$lit(TRUE) & TRUE
#> polars Expr: [(true) & (true)]
pl$lit(TRUE)$and(pl$lit(TRUE))
#> polars Expr: [(true) & (true)]