[#BloombergLP-bdlb-BitUtil-isBitSet-06]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/BitUtil.adoc[BitUtil]::isBitSet
:relfileprefix: ../../../
:mrdocs:

`isBitSet` overloads

== Synopses

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

Return `true` if the bit in the specified `value` at the specified `index` is set to 1, and `false` otherwise&period; The behavior is undefined unless `0 &lt;&equals; index &lt; sizeInBits(value)`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
xref:BloombergLP/bdlb/BitUtil/isBitSet-0a8.adoc[isBitSet](
    unsigned int value,
    int index);
----

[.small]#xref:BloombergLP/bdlb/BitUtil/isBitSet-0a8.adoc[_» more&period;&period;&period;_]#

Same as the `unsigned int` overload&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
xref:BloombergLP/bdlb/BitUtil/isBitSet-0a9.adoc[isBitSet](
    unsigned long value,
    int index);
----

[.small]#xref:BloombergLP/bdlb/BitUtil/isBitSet-0a9.adoc[_» more&period;&period;&period;_]#

Same as the `unsigned int` overload&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
xref:BloombergLP/bdlb/BitUtil/isBitSet-08.adoc[isBitSet](
    unsigned long long value,
    int index);
----

[.small]#xref:BloombergLP/bdlb/BitUtil/isBitSet-08.adoc[_» more&period;&period;&period;_]#


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