MCPcopy Create free account
hub / github.com/jipegit/OSXAuditor / withinRange

Function withinRange

d3-3.2.8/d3.js:2370–2372  ·  view source on GitHub ↗
(x, range)

Source from the content-addressed store, hash-verified

2368 return a[0] - b[0];
2369 }
2370 function withinRange(x, range) {
2371 return range[0] <= range[1] ? range[0] <= x && x <= range[1] : x < range[0] || range[1] < x;
2372 }
2373 return function(feature) {
2374 φ1 = λ1 = -(λ0 = φ0 = Infinity);
2375 ranges = [];

Callers 1

d3.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected