Returns if member is a member of the set stored at key.
Parameters
Parameter | Type | Description |
---|---|---|
key | string | key holding the set to check if the member is a member of. |
member | any | member to check if is a member of the set. |
Returns
Type | Resolves with | Rejected when |
---|---|---|
Promise<boolean> | On success, the promise resolves with true if the element is a member of the set, false otherwise. |