Takaro - v0.4.11
    Preparing search index...

    Function cloneWith

    • This method is like _.clone except that it accepts customizer which is invoked to produce the cloned value. If customizer returns undefined cloning is handled by the method instead.

      Type Parameters

      • T
      • TResult extends string | number | boolean | object | null

      Parameters

      • value: T

        The value to clone.

      • customizer: CloneWithCustomizer<T, TResult>

        The function to customize cloning.

      Returns TResult

      Returns the cloned value.

    • Type Parameters

      • T
      • TResult

      Parameters

      • value: T
      • customizer: CloneWithCustomizer<T, TResult | undefined>

      Returns T | TResult

      _.cloneWith

    • Type Parameters

      • T

      Parameters

      • value: T

      Returns T

      _.cloneWith