MCPcopy
hub / github.com/palantir/plottable / isDomainReversed

Function isDomainReversed

src/interactions/panZoomConstraints.ts:183–186  ·  view source on GitHub ↗
(scale: TransformableScale<any, number>)

Source from the content-addressed store, hash-verified

181}
182
183function isDomainReversed(scale: TransformableScale<any, number>) {
184 const domain = scale.getTransformationDomain();
185 return domain[1] < domain[0];
186}

Callers 1

constrainZoomValuesFunction · 0.85

Calls 1

Tested by

no test coverage detected