[#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`; load a handle to the element into the specified `handle`. Return true if successful, and false otherwise. == Synopsis Declared in `<bdlc_hashtable.h>` [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]#