Library API
    Preparing search index...

    Function flattenObject

    • Flattens own and inherited enumerable properties of obj into a fresh plain object.

      Type Parameters

      Parameters

      • obj: T

        Source object (including prototype-chained or Proxy-wrapped objects)

      Returns Record<PropertyKey, any>

      A plain object containing all enumerable entries