Json
JSON.TOGGLE
Toggle a boolean value stored at `path`.
Arguments
keybodystringrequired
The key of the json entry.
pathbodystringrequired
The path of the boolean. $ is the root.
Response
booleanrequired
The new value of the boolean.
Example
const bool = await redis.json.toggle("key", "$.path.to.bool");