R/fct_chessjs.R
validate_fen.Rd
Validate a FEN via chess.js
validate_fen(ctx, fen)
A chess.js V8 context from new_chess_context().
new_chess_context()
A FEN string.
The parsed chess.js validation result (a list with ok and, on failure, error).
ok
error