get

operator fun get(file: File, rank: Rank): Piece?

Gets the Piece at the given File and Rank, or null if the square is empty.


operator fun get(square: Square): Piece?

Gets the Piece at the given Square, or null if the square is empty.


operator fun get(notation: String): Piece?

Gets the Piece at the square specified by algebraic notation.