hasBit method

bool hasBit(
  1. int bit
)

Implementation

bool hasBit(int bit) => (this & (1 << bit)) != 0;