MCPcopy Create free account
hub / github.com/ICBNetwork/web3-Wallet / uncurryThis

Function uncurryThis

ses.cjs:331–333  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

329// uses the other technique.
330const uncurryThis=
331 (fn)=>
332 (receiver, ...args)=>
333 apply(fn, receiver, args);
334const arrayPush= uncurryThis(Array.prototype.push);
335const arrayIncludes= uncurryThis(Array.prototype.includes);
336const stringSplit= uncurryThis(String.prototype.split);

Callers 1

ses.cjsFile · 0.85

Calls 1

applyFunction · 0.85

Tested by

no test coverage detected