1# or
2
3## Description
4
5Tests whether **any** of the actions in an array return true.
6
7Note: All actions in the array will be executed even if an action before the end
8returns true. This ensures that actions with beneficial side-effects are always
9executed, such as a register read that clears latched fault bits.
10
11## Property Value
12
13Array of two or more [actions](action.md) to execute.
14
15## Return Value
16
17Returns true if **any** of the actions in the array returned true, otherwise
18returns false.
19
20## Example
21
22```json
23{
24  "comments": ["Check whether register 0xA0 or 0xA1 contains 0x00"],
25  "or": [
26    { "i2c_compare_byte": { "register": "0xA0", "value": "0x00" } },
27    { "i2c_compare_byte": { "register": "0xA1", "value": "0x00" } }
28  ]
29}
30```
31