SISMEMBER
SISMEMBER key member
@read, @set, @fast, Returns if member is a member of the set stored at key.
Integer reply, specifically:
1 if the element is a member of the set.0 if the element is not a member of the set, or if key does not exist.SADD myset "one" SISMEMBER myset "one" SISMEMBER myset "two"
© 2006–2022 Salvatore Sanfilippo
Licensed under the Creative Commons Attribution-ShareAlike License 4.0.
https://redis.io/commands/sismember/