MCPcopy Index your code
hub / github.com/plotly/plotly.js / goodNumber

Function goodNumber

src/plots/cartesian/autorange.js:629–631  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

627// In order to stop overflow errors, don't consider points
628// too close to the limits of js floating point
629function goodNumber(v) {
630 return isNumeric(v) && Math.abs(v) < FP_SAFE;
631}
632
633function lessOrEqual(v0, v1) { return v0 <= v1; }
634function greaterOrEqual(v0, v1) { return v0 >= v1; }

Callers 1

addItemFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…