OR ER function

The OR function returns a Boolean value of FALSE if all the specified conditions are false. If any specified condition is true, the function returns a Boolean value of TRUE.

Syntax

OR (condition 1[, condition 2, …, condition N])

Arguments

condition 1: Boolean

A valid conditional expression that must be tested. This argument is required.

condition N: Boolean

A valid conditional expression that must be tested. These additional arguments are optional.

Return values

Boolean

The resulting Boolean value.

Example

OR (1=2, "a"="a") returns TRUE.

Additional resources

Logical functions