Arguments
string[]
required
The sha1 of the scripts to check.
Response
An array of numbers.
1 if the script exists, otherwise 0.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
await redis.scriptExists("<sha1>", "<sha2>")
// Returns 1
// [1, 0]
Check if scripts exist in the script cache.
1 if the script exists, otherwise 0.await redis.scriptExists("<sha1>", "<sha2>")
// Returns 1
// [1, 0]
Was this page helpful?