Skip to content
This repository
tree: 1a7d0e5491
Fetching contributors…

Cannot retrieve contributors at this time

file 14 lines (10 sloc) 0.257 kb

Returns the set cardinality (number of elements) of the set stored at key.

@return

@integer-reply: the cardinality (number of elements) of the set, or 0 if key does not exist.

@examples

SADD myset "Hello"
SADD myset "World"
SCARD myset
Something went wrong with that request. Please try again.