Search…
⌘K
Ask AI
⌘I
Discord
Blog
Twitter
Console
Overview
Redis
Vector
QStash
Workflow
Search
Box
Realtime
Developer API
Redis
SDKs
Typescript
Commands
Scripts
SCRIPT EXISTS
Check if scripts exist in the script cache.
1 min read
Copy as Markdown
Arguments
#
hashes
string[]
required
#
The sha1 of the scripts to check.
Response
#
EVALSHA_RO
SCRIPT FLUSH
Example
await
redis.
scriptExists
(
"<sha1>"
,
"<sha2>"
)
// Returns 1
// [1, 0]