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

Function inDeltaNumber

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

Source from the content-addressed store, hash-verified

40}
41
42function inDeltaNumber(actual, expected, delta) {
43 return actual >= expected - delta && actual <= expected + delta;
44}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected