moveIsCastle function

bool moveIsCastle(
  1. int m
)

Implementation

bool moveIsCastle(int m) {
  final f = moveFlag(m);
  return f == flagKingCastle || f == flagQueenCastle;
}