MCPcopy
hub / github.com/getify/Functional-Light-JS / spreadArgs

Function spreadArgs

ch11-code/fp-helpers.js:42–46  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

40}
41
42function spreadArgs(fn) {
43 return function spreadFn(argsArr){
44 return fn( ...argsArr );
45 };
46}
47
48function partial(fn,...presetArgs) {
49 return function partiallyApplied(...laterArgs){

Callers 3

addStockFunction · 0.85
stock-ticker.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected