1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-10 11:43:01 +03:00
Files
node-redis/lib/commands/SCRIPT_EXISTS.ts

9 lines
347 B
TypeScript

import { RedisCommandArguments } from '.';
import { pushVerdictArguments, transformReplyBooleanArray } from './generic-transformers';
export function transformArguments(sha1: string | Array<string>): RedisCommandArguments {
return pushVerdictArguments(['SCRIPT', 'EXISTS'], sha1);
}
export const transformReply = transformReplyBooleanArray;