Generates a string in Forsyth–Edwards Notation (FEN) representing the current position of the chess board.

Syntax#

toFEN()