Canboat ts-pgns
    Preparing search index...

    Function convertNamesToCamel

    • Converts the property names 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: any

        The PGN object whose property names may be converted.

      Returns any

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