platform-bible-utils
    Preparing search index...

    Function deepClone

    • If deepClone isn't used when copying properties between objects, you may be left with dangling references between the source and target of property copying operations.

      Type Parameters

      • T

      Parameters

      • obj: T

        Object to clone

      Returns T

      Duplicate copy of obj without any references back to the original one