You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-07 13:22:56 +03:00
WIP
This commit is contained in:
@@ -480,7 +480,7 @@ export function pushZKeysArguments(
|
||||
}
|
||||
|
||||
function isPlainKey(key: RedisArgument | ZKeyAndWeight): key is RedisArgument {
|
||||
return typeof key === 'string' || Buffer.isBuffer(key);
|
||||
return typeof key === 'string' || key instanceof Buffer;
|
||||
}
|
||||
|
||||
function isPlainKeys(keys: Array<RedisArgument> | Array<ZKeyAndWeight>): keys is Array<RedisArgument> {
|
||||
|
Reference in New Issue
Block a user