Function: isUniformEdges()
ts
function isUniformEdges(edges, n?): boolean;Experimental
Whether the first n + 1 edges have equal widths: within 1e-9 relative, plus a few float64 ulps of the largest edge magnitude (so equal-width bins at large offsets, e.g. ms timestamps, qualify).
Parameters
| Parameter | Type |
|---|---|
edges | ArrayLike<number> |
n | number |
Returns
boolean