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