inStalemate property

bool inStalemate

Implementation

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