These docs are for v1.0. Click to read the latest docs for v1.2.

OR

Returns true if any of the given expressions/values are true, and false otherwise

Syntax

=OR(expr)

=OR(expr1, expr2, ..., exprN)

Arguments

ArgumentTypeDescription
exprNBooleanThe value to use

Examples

=OR(false, false)false

=OR(false, true)false

=OR(true, true)true

=OR(1 = 1, 2 = 2)true

=OR(@"Property 1" = 1, @"Property 2" >= 4)true
Checks if the shape data property "Property 1" is equal to 1 and "Property 2" is less than 4. Because "Property 1" is equal to 1, the function returns true (even though "Property 2" is not less than 4).


Did this page help you?