Skip to main content

SMISMEMBER

Syntax

SMISMEMBER key member [member...]

Module

set

Categories

fast read set

Description

Returns if multiple members are in the set.

Examples

Returns if multiple members are in the set:

db, err := sugardb.NewSugarDB()
if err != nil {
log.Fatal(err)
}
isMemberSlice, err := db.SMisMember("key", "member1", "member2")