OR

Description

Returns TRUE if any provided logical condition evaluates to TRUE; otherwise, returns FALSE.

Syntax

OR(...logical) -> Boolean

Parameters

ParameterData TypeRequiredDescription
… logicalBooleanYesA list of expressions to evaluate.

Examples

OR(5 < 3, 10 == 10)
-- Returns TRUE.
OR(1 > 2, 3 > 4)
-- Returns FALSE.

Tips

  • It functions the same as the || operator.