Selva Compute API Reference - v1.5.1
    Preparing search index...

    Function camelcaseKeys

    • Internal

      Recursively converts all object keys to camelCase.

      Parameters

      • obj: unknown

        The object to process

      • options: { deep?: boolean; preserveSpaces?: boolean } = {}

        Options object

        • deep: If true, process deeply
        • preserveSpaces: If true, spaces are preserved in keys

      Returns unknown

      The new object with camelCased keys