[#BloombergLP-bdlc-HashTable-find]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/HashTable.adoc[HashTable]::find
:relfileprefix: ../../../
:mrdocs:

Find an element having the specified `key`&semi; load a handle to the element into the specified `handle`&period; Return true if successful, and false otherwise&period;

== Synopsis

Declared in `&lt;bdlc&lowbar;hashtable&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
find(
    xref:BloombergLP/bdlc/HashTable/Handle.adoc[Handle]* handle,
    KEY const& key) const;
----

== Return Value

`true` if an element was found, and `false` otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *handle*
| handle loaded with the found element on success
| *key*
| key to look up
|===


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