redisSIsMember: Test for set membership

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/setVal.R

Description

Test if an element belongs to a set.

Usage

1
redisSIsMember(set, element)

Arguments

set

A string set identifier.

element

The element whose membership is to be tested.

Value

TRUE if the element is a member of the set, FALSE otherwise.

Author(s)

B. W. Lewis

References

http://redis.io/commands

See Also

redisSAdd

Examples

1
2
3
4
5
6
## Not run: 
redisConnect()
redisSAdd("set",5)
redisSIsMember("set",5)

## End(Not run)

rredis documentation built on May 2, 2019, 2:02 p.m.