ScardCommand: Contents
  SCARD _key_
    Return value
    See also

ScardCommand

SCARD _key_

Time complexity O(1)
Return the set cardinality (number of elements). If the key does notexist 0 is returned, like for empty sets.

Return value

Integer reply, specifically:

the cardinality (number of elements) of the set as an integer.

See also