inStalemate property

bool get inStalemate

Implementation

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