Msintercard
Bun

method

RedisClient.sintercard

numkeys: number,
key: KeyLike,
...args: number | KeyLike[]
): Promise<number>;

Get the cardinality of the intersection of multiple sets

@param numkeys

The number of keys to intersect

@param key

The first set key

@param args

Additional set keys and optional LIMIT argument

@returns

Promise that resolves with the number of elements in the intersection

Referenced types

type KeyLike = string | ArrayBufferView | Blob