# Redis `set` commands (17/17 implemented)

## [SADD](https://redis.io/commands/sadd/)

Adds one or more members to a set. Creates the key if it doesn't exist.

## [SCARD](https://redis.io/commands/scard/)

Returns the number of members in a set.

## [SDIFF](https://redis.io/commands/sdiff/)

Returns the difference of multiple sets.

## [SDIFFSTORE](https://redis.io/commands/sdiffstore/)

Stores the difference of multiple sets in a key.

## [SINTER](https://redis.io/commands/sinter/)

Returns the intersect of multiple sets.

## [SINTERCARD](https://redis.io/commands/sintercard/)

Returns the number of members of the intersect of multiple sets.

## [SINTERSTORE](https://redis.io/commands/sinterstore/)

Stores the intersect of multiple sets in a key.

## [SISMEMBER](https://redis.io/commands/sismember/)

Determines whether a member belongs to a set.

## [SMEMBERS](https://redis.io/commands/smembers/)

Returns all members of a set.

## [SMISMEMBER](https://redis.io/commands/smismember/)

Determines whether multiple members belong to a set.

## [SMOVE](https://redis.io/commands/smove/)

Moves a member from one set to another.

## [SPOP](https://redis.io/commands/spop/)

Returns one or more random members from a set after removing them. Deletes the set if the last member was popped.

## [SRANDMEMBER](https://redis.io/commands/srandmember/)

Get one or multiple random members from a set

## [SREM](https://redis.io/commands/srem/)

Removes one or more members from a set. Deletes the set if the last member was removed.

## [SSCAN](https://redis.io/commands/sscan/)

Iterates over members of a set.

## [SUNION](https://redis.io/commands/sunion/)

Returns the union of multiple sets.

## [SUNIONSTORE](https://redis.io/commands/sunionstore/)

Stores the union of multiple sets in a key.



