Lodash.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. The customizer is invoked with up to four arguments; (value [, index|key, object, stack]).

struct Lodash
nothrow @trusted @safe ref
cloneWith
(
T
)
(
auto ref T customizer
)

Return Value

Type: auto ref

- Lodash chained on (*): the cloned value.

Meta