Skip to main content
Returns if member is a member of the set stored at key.

Usage

Parameters

key
string
required
The key of the set
member
TData
required
The member to check for existence in the set

Response

result
0 | 1
Returns 1 if the member exists in the set, 0 otherwise

Examples

Check if member exists

Check for non-existing member

Using in conditionals

Check membership with custom types