X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/ed9b544e10b84cd43348ddfab7068b610a5df1f7..33c1269efc86a603c54c1045edc9402488a7224f:/doc/SismemberCommand.html diff --git a/doc/SismemberCommand.html b/doc/SismemberCommand.html index 63516d02..58768ef7 100644 --- a/doc/SismemberCommand.html +++ b/doc/SismemberCommand.html @@ -16,7 +16,7 @@
-SismemberCommand: Contents
  SISMEMBER _key_ _member_
    Return value
    See also +SismemberCommand: Contents
  SISMEMBER _key_ _member_
    Return value

SismemberCommand

@@ -26,14 +26,13 @@
-

SISMEMBER _key_ _member_

-Time complexity O(1)
Return 1 if member is a member of the set stored at key, otherwise0 is returned. On error a negative value is returned. Client librariesshould raise an error when a negative value is returned instead to passthe value to the caller.
+ #sidebar SetCommandsSidebar

SISMEMBER _key_ _member_

+Time complexity O(1)
Return 1 if member is a member of the set stored at key, otherwise0 is returned.

Return value

Integer reply, specifically:

 1 if the element is a member of the set
 0 if the element is not a member of the set OR if the key does not exist
--2 if the key does not hold a set value
-

See also

- + +