Toggle a boolean value stored at path.
path
const bool = await redis.json.toggle("key", "$.path.to.bool");
The key of the json entry.
The path of the boolean.
The new value of the boolean.
Was this page helpful?