Test whether an object is a chess game
See also
Other core:
gm_game,
gm_legal_moves(),
gm_move(),
gm_position(),
gm_status(),
is_gm_position()
Examples
is_gm_game(gm_read_pgn("1. e4 e5 *", text = TRUE))
#> [1] TRUE
Test whether an object is a chess game
Other core:
gm_game,
gm_legal_moves(),
gm_move(),
gm_position(),
gm_status(),
is_gm_position()
is_gm_game(gm_read_pgn("1. e4 e5 *", text = TRUE))
#> [1] TRUE