Skip to main content

AND function

Returns TRUE if all of the provided arguments are logically TRUE, and FALSE if any of the provided arguments are logically FALSE.

Syntax

and(<val1>, <val2>, <val3>, <val4>, <val5>, <val6>, <val7>, <val8>, <val9>, <val10>, <val11>, <val12>, <val13>, <val14>, <val15>, <val16>, <val17>, <val18>, <val19>, <val20>, <val21>, <val22>, <val23>, <val24>, <val25>, <val26>, <val27>, <val28>, <val29>, <val30>, <val31>, <val32>, <val33>, <val34>, <val35>, <val36>, <val37>, <val38>, <val39>, <val40>)
ParameterTypeDescription
val1bool
val2bool
val3bool
val4bool
val5bool
val6bool
val7bool
val8bool
val9bool
val10bool
val11bool
val12bool
val13bool
val14bool
val15bool
val16bool
val17bool
val18bool
val19bool
val20bool
val21bool
val22bool
val23bool
val24bool
val25bool
val26bool
val27bool
val28bool
val29bool
val30bool
val31bool
val32bool
val33bool
val34bool
val35bool
val36bool
val37bool
val38bool
val39bool
val40bool

Usages

case_when(and(`total_amount` > 100, `discount` = 0), "High", "Low")