in_checkmate property
bool
get
in_checkmate
Is it checkmate in current position ?
Implementation
bool get in_checkmate {
return in_check && generate_moves().isEmpty;
}
Is it checkmate in current position ?
bool get in_checkmate {
return in_check && generate_moves().isEmpty;
}