content/commands/bf.mexists.md
Determines whether one or more items were added to a Bloom filter.
This command is similar to [BF.EXISTS]({{< relref "commands/bf.exists/" >}}), except that more than one item can be checked.
is key name for a Bloom filter.
</details> <details open><summary><code>item...</code></summary>One or more items to check.
</details>{{< highlight bash >}} redis> BF.MADD bf item1 item2
| Redis Software | Redis Cloud | <span style="min-width: 9em; display: table-cell">Notes</span> | |:----------------------|:-----------------|:------| | <span title="Supported">✅ Supported</span> | <span title="Supported">✅ Flexible & Annual</span> <span title="Supported">✅ Free & Fixed</nobr></span> | |
{{< multitabs id="bf-mexists-return-info" tab1="RESP2" tab2="RESP3" >}}
One of the following:
1 means that, with high probability, item was already added to the filter, and 0 means that key does not exist or that item was definitely not added to the filter.-tab-sep-
One of the following:
true means that, with high probability, item was already added to the filter, and false means that key does not exist or that item was definitely not added to the filter.{{< /multitabs >}}