R/fct_chessjs.R
is_valid_fen.Rd
Test whether a FEN is legal
is_valid_fen(ctx, fen)
A chess.js V8 context from new_chess_context().
new_chess_context()
A FEN string.
TRUE if the FEN is legal, FALSE otherwise.
TRUE
FALSE