Function inanis::state::text::fen::fen_to_stm

source ·
fn fen_to_stm(board: &mut Board, color: &str) -> Result<(), String>
Expand description

Parses FEN’s active color and stores it into the board. Returns Err with the proper error message if stm couldn’t be parsed.