hasFlag method

bool hasFlag(
  1. int flag
)

Implementation

bool hasFlag(int flag) => hasBit(Bishop.flagsStartBit + flag);