MCPcopy Create free account
hub / github.com/plotly/plotly.js / almostEq

Function almostEq

src/components/shapes/draw_newshape/helpers.js:211–213  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

209};
210
211function almostEq(a, b) {
212 return Math.abs(a - b) <= 1e-6;
213}
214
215function dist(a, b) {
216 var dx = b[1] - a[1];

Callers 1

helpers.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…