Redis · Command
SISMEMBER
SISMEMBER checks whether a member belongs to a Redis set. It returns 1 if present and 0 if absent or if the key does not exist.
Last updated
- Since
- 1.0.0
Syntax
SISMEMBER key memberIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
SADDSMISMEMBERSMEMBERSSREM