[#BloombergLP-bdlcc-SkipList-0a-exists]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/SkipList-0a.adoc[SkipList]::exists
:relfileprefix: ../../../
:mrdocs:

Return whether a pair with the specified `key` is in the list&period;

== Synopsis

Declared in `&lt;bdlcc&lowbar;skiplist&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
exists(KEY const& key) const;
----

== Description

Return `true` if there is a pair in the list with the specified `key`, and `false` otherwise&period;

== Return Value

`true` if `key` is present, and `false` otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *key*
| key to search for
|===


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