xref: /openbmc/phosphor-power/phosphor-regulators/docs/config_file/not.md (revision 6151c286a8737f22e5297ff556f7304bd548ed0a)
1aebb3ee5SShawn McCarney# not
2aebb3ee5SShawn McCarney
3aebb3ee5SShawn McCarney## Description
40dbce568SPatrick Williams
5aebb3ee5SShawn McCarneyNegates the return value of the specified action.
6aebb3ee5SShawn McCarney
7aebb3ee5SShawn McCarney## Property Value
80dbce568SPatrick Williams
9aebb3ee5SShawn McCarney[Action](action.md) to execute.
10aebb3ee5SShawn McCarney
11aebb3ee5SShawn McCarney## Return Value
120dbce568SPatrick Williams
130dbce568SPatrick WilliamsReturns true if the action returned false. Returns false if the action returned
140dbce568SPatrick Williamstrue.
15aebb3ee5SShawn McCarney
16aebb3ee5SShawn McCarney## Example
170dbce568SPatrick Williams
18*6151c286SGeorge Liu```json
19aebb3ee5SShawn McCarney{
20aebb3ee5SShawn McCarney  "comments": ["Check if register 0xA0 is not equal to 0xFF"],
21aebb3ee5SShawn McCarney  "not": {
22aebb3ee5SShawn McCarney    "i2c_compare_byte": { "register": "0xA0", "value": "0xFF" }
23aebb3ee5SShawn McCarney  }
24aebb3ee5SShawn McCarney}
25aebb3ee5SShawn McCarney```
26