Canboat ts-pgns
    Preparing search index...

    Function convertCamelCase

    • Converts the keys of a PGN object to camelCase if the server does not support camelCase.

      Parameters

      • pluginApp: any

        The plugin application instance used to determine camelCase support.

      • pgn: PGN

        The PGN object whose keys may be converted to camelCase.

      Returns any

      The PGN object with camelCase keys if not supported by the server; otherwise, returns the original PGN object.