Vinyl
    Preparing search index...

    Function clone

    • Performs a deep clone on the target object.

      This is an alias for mergeDeep(target) that additionally converts clone rules to one-sided merge rules.

      Type Parameters

      • T

      Parameters

      • target: T

        The target object to clone.

      • Optionaloptions: Partial<CloneOptions>

        The merge options to use. clone, unlike mergeDeep, allowReferenceCopy will default to false.

      Returns MutableDeep<T>

      mergeDeep