Skip to main content

Arguments

key
string
required
The key of the json entry.
path
string
required
The path of the value. $ is the root.

Response

The type of the value at path or null if the value does not exist.
const myType = await redis.json.type("key", "$.path.to.value");