[#BloombergLP-bslalg-HashTableImpUtil-bucketContainsLink] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::xref:BloombergLP/bslalg/HashTableImpUtil.adoc[HashTableImpUtil]::bucketContainsLink :relfileprefix: ../../../ :mrdocs: Return `true` if the specified `linkAddress` is the address of one of the links in the list of elements in the closed range `[bucket.first(), bucket.last()]`. == Synopsis Declared in `<bslalg_hashtableimputil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static bool bucketContainsLink( xref:BloombergLP/bslalg/HashTableBucket.adoc[HashTableBucket] const& bucket, xref:BloombergLP/bslalg/BidirectionalLink.adoc[BidirectionalLink]* linkAddress); ---- == Return Value `true` if `linkAddress` is in the bucket's element range == Parameters [cols="1,4"] |=== | Name| Description | *bucket* | bucket whose element range to search | *linkAddress* | link to test for membership in `bucket` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#