[#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 whether the bit at `index` in `value` is set&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;_]#

== Return Value

`true` if the bit is set, and `false` otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| value to inspect
| *index*
| bit position to test
|===


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