inCheckmate property

bool inCheckmate

Implementation

bool get inCheckmate {
  return inCheck && generateMoves().length == 0;
}