• 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 null | string | number | boolean | object

    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, undefined | TResult>

    Returns T | TResult

    See

    _.cloneWith

  • Type Parameters

    • T

    Parameters

    • value: T

    Returns T

    See

    _.cloneWith

Generated using TypeDoc