isFlagBitSet method

bool isFlagBitSet(
  1. int bit
)

Implementation

bool isFlagBitSet(int bit) {
  return BinaryHelper.isSet(
      flags, (ZMachine.verToInt(Z.engine.version) <= 3 ? 31 : 47) - bit);
}