or( value )
Returns true
if any inputs are true
; returns false
if all inputs are false
.
Keyword | Type | Description |
---|---|---|
|
Boolean |
A value or array of values that must be false for the function return false. |
Boolean
or()
evaluates.true
, the function returns true
.true
, the later edge cases don't need to be evaluated.false
.false
, but empty text strings in an array with multiple data types are considered null values and are filtered out before evaluation.Use functions to Pass Multiple Logical Values:
or(isleapyear(1996),isleapyear(1997))
returns true
Pass an Empty Array:
or({})
returns false
Pass an Array of Numbers:
or(1,2,"",3)
returns true
or(0,1,2,"",3)
returns true
Feature | Compatibility | Note |
---|---|---|
Portals | Compatible | |
Offline Mobile | Compatible | |
Sync-Time Custom Record Fields | Compatible | Can be used to create a custom record field that only evaluates at sync time. |
Real-Time Custom Record Fields | Incompatible | |
Process Reports | Compatible | |
Process Events | Compatible |
or() Function