[#BloombergLP-bdlb-BitStringUtil-bit]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/BitStringUtil.adoc[BitStringUtil]::bit
:relfileprefix: ../../../
:mrdocs:

Return the bit value at the specified `index` in the specified `bitString`&period; The behavior is undefined unless `index` is less than the length of `bitString`&period;

== Synopsis

Declared in `&lt;bdlb&lowbar;bitstringutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
bit(
    uint64&lowbar;t const* bitString,
    std::size&lowbar;t index);
----


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