SISMEMBER

SISMEMBER

SISMEMBER key member
Available since
1.0.0
Time complexity
O(1)
ACL categories
@read, @set, @fast

Returns if member is a member of the set stored at key.

Examples #

SADD myset "one"
SISMEMBER myset "one"
SISMEMBER myset "two"

Redict logo courtesy of @janWilejan, CC-BY-SA-4.0. Download SVG ⤑

Portions of this website courtesy of Salvatore Sanfilippo, CC-BY-SA-4.0.