redis.sadd("set1", "a", "b", "c"); redis.sadd("set2", "c", "d", "e"); assert redis.sinter("set1", "set2") == {"c"}
Return the intersection between sets
The keys of the sets to perform the intersection operation on.
The resulting set.
Was this page helpful?