Library API
    Preparing search index...

    Function allObject

    • Returns a new object containing all 'own' and 'inherited' enumerable properties from the prototype chain of the provided object.

      Type Parameters

      Parameters

      • json: T

        The object to extract properties from

      Returns { [k: string]: ValueOf<T> }

      A plain object containing the flattened properties

      const flat = allObject(myInstance);