💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
## sIsMember, sContains ##### *Description* Checks if `<span class="calibre12">value</span>` is a member of the set stored at the key `<span class="calibre12">key</span>`. 检查VALUE是否是SET容器中的成员。 ##### *Parameters* *key* *value* ##### *Return value* *BOOL*`<span class="calibre12">TRUE</span>` if `<span class="calibre12">value</span>` is a member of the set at key `<span class="calibre12">key</span>`, `<span class="calibre12">FALSE</span>` otherwise. ##### *Example* ``` <pre class="calibre9">$redis->sAdd('key1' , 'member1'); $redis->sAdd('key1' , 'member2'); $redis->sAdd('key1' , 'member3'); /* 'key1' => {'member1', 'member2', 'member3'}*/ $redis->sIsMember('key1', 'member1'); /* TRUE */ $redis->sIsMember('key1', 'memberX'); /* FALSE */ ```