MCPcopy
hub / github.com/lodash/lodash / curryRight

Function curryRight

lodash.js:10342–10347  ·  view source on GitHub ↗

* This method is like `_.curry` except that arguments are applied to `func` * in the manner of `_.partialRight` instead of `_.partial`. * * The `_.curryRight.placeholder` value, which defaults to `_` in monolithic * builds, may be used as a placeholder for provided arguments.

(func, arity, guard)

Source from the content-addressed store, hash-verified

10340 * // => [1, 2, 3]
10341 */
10342 function curryRight(func, arity, guard) {
10343 arity = guard ? undefined : arity;
10344 var result = createWrap(func, WRAP_CURRY_RIGHT_FLAG, undefined, undefined, undefined, undefined, undefined, arity);
10345 result.placeholder = curryRight.placeholder;
10346 return result;
10347 }
10348
10349 /**
10350 * Creates a debounced function that delays invoking `func` until after `wait`

Callers

nothing calls this directly

Calls 1

createWrapFunction · 0.85

Tested by

no test coverage detected