SISMEMBER key member
member is a member of the set stored at
Integer reply, specifically:
1if the element is a member of the set.
0if the element is not a member of the set, or if
keydoes not exist.
(integer) 1redis> SISMEMBER myset "one"
(integer) 1redis> SISMEMBER myset "two"
© 2009–2017 Salvatore Sanfilippo
Licensed under the Creative Commons Attribution-ShareAlike License 4.0.