Skip to content

IsBitSetCondition

13.24

Class Documentation

Edit documentation

A condition that returns true if bit Position of the integer BitField is set. Bit 0 is the lowest bit. The condition takes the position modulo 32, so 32 tests bit 0 again.

The condition does not check its getters for failure. A getter that fails gives 0: a failing BitField makes the condition return false, and a failing Position tests bit 0. SetBit and ClearBit change single bits of an integer variable.

Properties