hasBitSet

infix fun Byte.hasBitSet(bit: Int): Boolean

Returns whether the bit at the given bit is set to 1 in the receiver.

Receiver

Byte value.


infix fun UByte.hasBitSet(bit: Int): Boolean

Returns whether the bit at the given bit is set to 1 in the receiver.

Receiver

UByte value.


infix fun Short.hasBitSet(bit: Int): Boolean

Returns whether the bit at the given bit is set to 1 in the receiver.

Receiver

Short value.


infix fun UShort.hasBitSet(bit: Int): Boolean

Returns whether the bit at the given bit is set to 1 in the receiver.

Receiver

UShort value.


infix fun Int.hasBitSet(bit: Int): Boolean

Returns whether the bit at the given bit is set to 1 in the receiver.

Receiver

Int value.


infix fun UInt.hasBitSet(bit: Int): Boolean

Returns whether the bit at the given bit is set to 1 in the receiver.

Receiver

UInt value.