SMISMEMBER
Syntax
SMISMEMBER key member [member...]
Module
setCategories
fast read setDescription
Returns if multiple members are in the set.
Examples
- Go (Embedded)
- CLI
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")
Returns if multiple members are in the set:
> SMISMEMBER key member1 member2