Function parsePgn

  • Parameters

    • pgn: string
    • initHeaders: (() => Map<string, string>) = defaultHeaders
        • (): Map<string, string>
        • Returns Map<string, string>

    Returns Game<PgnNodeData>[]