content/commands/vismember.md
Check if an element exists in a vector set.
is the name of the key that holds the vector set.
</details> <details open> <summary><code>element</code></summary>is the name of the element you want to check for membership.
</details>| Redis Software | Redis Cloud | <span style="min-width: 9em; display: table-cell">Notes</span> | |:----------------------|:-----------------|:------| | <span title="Supported">✅ Standard</span> <span title="Not supported"><nobr>❌ Active-Active</nobr></span> | <span title="Supported">✅ Standard</span> <span title="Not supported"><nobr>❌ Active-Active</nobr></span> | |
{{< multitabs id="vismember-return-info" tab1="RESP2" tab2="RESP3" >}}
Integer reply: 0 if the element does not exist in the vector set, or the key does not exist. 1 if the element exists in the vector set.
-tab-sep-
Boolean reply: false if the element does not exist in the vector set, or the key does not exist. true if the element exists in the vector set.
{{< /multitabs >}}