MCPcopy Create free account
hub / github.com/d3/d3-shape / inDelta

Function inDelta

test/asserts.js:23–27  ·  view source on GitHub ↗
(actual, expected, delta)

Source from the content-addressed store, hash-verified

21}
22
23function inDelta(actual, expected, delta) {
24 return (Array.isArray(expected) ? inDeltaArray
25 : typeof expected === "object" ? inDeltaObject
26 : inDeltaNumber)(actual, expected, delta);
27}
28
29function inDeltaArray(actual, expected, delta) {
30 let n = expected.length, i = -1;

Callers 3

assertInDeltaFunction · 0.85
inDeltaArrayFunction · 0.85
inDeltaObjectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected