Skip to main content

Documentation Index

Fetch the complete documentation index at: https://upstash.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Arguments

key
str
required
The key of the set to check.
members
TMember[]
The members to check

Response

An array of True and False values. True if the member exists in the set, False if not.
redis.sadd("myset", "one", "two", "three")

assert redis.smismember("myset", "one", "four") == [True, False]

assert redis.smismember("myset", "four", "five") == [False, False]