inDraw property Null safety

bool inDraw

Implementation

bool get inDraw {
  return halfMoves >= 100 ||
      inStalemate ||
      insufficientMaterial ||
      inThreefoldRepetition;
}