Arguments
string
required
The key of the json entry.
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.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
const myType = await redis.json.type("key", "$.path.to.value");
Report the type of JSON value at path.
$ is the root.path or null if the value does not exist.const myType = await redis.json.type("key", "$.path.to.value");
Was this page helpful?