Return whether a member exists in the set.

Section: Sets

Check membership

bash
bash
SISMEMBER tags:post:1 redis

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Sets
Check multiple memberships
Test several possible members at once.
OpenIn sheetbashsame section
Add members to a set
Insert unique set members.
OpenIn sheetbashsame section
Remove members from a set
Remove members from a set.
OpenIn sheetbashsame section
List all members
Return every member of a set.
OpenIn sheetbashsame section
Get set size
Return the number of unique members.
OpenIn sheetbashsame section
Pop random members
Remove and return random set members.
OpenIn sheetbashsame section