[#bsl-unordered_multimap-0b0-contains-0e]
= xref:bsl.adoc[bsl]::xref:bsl/unordered_multimap-0b0.adoc[unordered&lowbar;multimap]::contains
:relfileprefix: ../../
:mrdocs:

Return `true` if this unordered map contains an element whose key is equivalent to the specified `key`&period;

== Synopses

Declared in `&lt;bslstl&lowbar;unorderedmultimap&period;h&gt;`

Return `true` if this unordered map contains an element whose key is equivalent to the specified `key`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:bsl/unordered_multimap-0b0/contains-03.adoc[contains](xref:bsl/unordered_multimap-0b0/key_type.adoc[key&lowbar;type] const& key) const;
----

[.small]#xref:bsl/unordered_multimap-0b0/contains-03.adoc[_» more&period;&period;&period;_]#

Return `true` if this unordered map contains an element whose key is equivalent to the specified `key`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class LOOKUP&lowbar;KEY&gt;
bool
xref:bsl/unordered_multimap-0b0/contains-06.adoc[contains](LOOKUP&lowbar;KEY const& key) const
requires BloombergLP&colon;&colon;bslmf&colon;&colon;IsTransparentPredicate&lt;HASH, LOOKUP&lowbar;KEY&gt;&colon;&colon;value &amp;&amp;
            BloombergLP&colon;&colon;bslmf&colon;&colon;IsTransparentPredicate&lt;EQUAL,
                                                       LOOKUP&lowbar;KEY&gt;&colon;&colon;value;
----

[.small]#xref:bsl/unordered_multimap-0b0/contains-06.adoc[_» more&period;&period;&period;_]#


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