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

Function rangeContains

external/.d3.js:10154–10156  ·  view source on GitHub ↗
(range, x)

Source from the content-addressed store, hash-verified

10152}
10153
10154function rangeContains(range, x) {
10155 return range[0] <= range[1] ? range[0] <= x && x <= range[1] : x < range[0] || range[1] < x;
10156}
10157
10158function bounds(feature) {
10159 var i, n, a, b, merged, deltaMax, delta;

Callers 1

boundsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected