MCPcopy Create free account
hub / github.com/breck7/scroll / required

Function required

external/.d3.js:13248–13251  ·  view source on GitHub ↗
(f)

Source from the content-addressed store, hash-verified

13246}
13247
13248function required(f) {
13249 if (typeof f !== "function") throw new Error;
13250 return f;
13251}
13252
13253function constantZero() {
13254 return 0;

Callers 2

optionalFunction · 0.85
indexFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected