inCheck property

bool get inCheck

Implementation

bool get inCheck => isSquareAttacked(_kingSquareOf(turn), turn ^ 1);