[#CBloomFilter-contains-0e]
= xref:CBloomFilter.adoc[CBloomFilter]::contains
:relfileprefix: ../
:mrdocs:

`contains` overloads

== Synopses

Declared in `&lt;common&sol;bloom&period;h&gt;`

Test whether a raw key may be in the filter&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:CBloomFilter/contains-0f.adoc[contains](std::span&lt;unsigned char const&gt; vKey) const;
----

[.small]#xref:CBloomFilter/contains-0f.adoc[_» more&period;&period;&period;_]#

Test whether an outpoint may be in the filter&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:CBloomFilter/contains-0b.adoc[contains](xref:COutPoint.adoc[COutPoint] const& outpoint) const;
----

[.small]#xref:CBloomFilter/contains-0b.adoc[_» more&period;&period;&period;_]#

== Return Value

* true if the key may be present (subject to false positives)&period;
* true if the outpoint may be present (subject to false positives)&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *vKey*
| The bytes to test&period;
| *outpoint*
| The transaction outpoint to test&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
