Skip to contents

Test whether an object is a chess game

Usage

is_gm_game(x)

Arguments

x

An object to test.

Value

A logical scalar.

Examples

is_gm_game(gm_read_pgn("1. e4 e5 *", text = TRUE))
#> [1] TRUE