@alextheman/utility - v4.3.5
    Preparing search index...

    Function deepCopy

    • Deeply copies an object or array such that all child objects/arrays are also copied.

      Type Parameters

      • ObjectType extends object

        The type of the input object.

      Parameters

      • object: ObjectType

        The object to copy. May also be an array.

      Returns ObjectType

      An identical object with a new reference in memory.