overArgs
Creates a function that invokes the provided function with its arguments transformed.
- Use
Array.prototype.map()
to applytransforms
toargs
in combination with the spread operator (...
) to pass the transformed arguments tofn
.
Creates a function that invokes the provided function with its arguments transformed.
Array.prototype.map()
to apply transforms
to args
in combination with the spread operator (...
) to pass the transformed arguments to fn
.