pub fn is_score_near_checkmate(score: i16) -> bool
Expand description

Checks if score is within mate range (from -CHECKMATE_SCORE to -CHECKMATE_SCORE + MAX_DEPTH and from CHECKMATE_SCORE - MAX_DEPTH to CHECKMATE_SCORE).