MCPcopy Index your code
hub / github.com/apache/echarts / unionExtentStartFromNumber

Function unionExtentStartFromNumber

src/util/model.ts:1237–1241  ·  view source on GitHub ↗
(extent: number[], val: number | NullUndefined)

Source from the content-addressed store, hash-verified

1235 * - `extent` should be initialized as `initExtentForUnion()`.
1236 */
1237export function unionExtentStartFromNumber(extent: number[], val: number | NullUndefined): void {
1238 if (isValidNumberForExtent(val) && val < extent[0]) {
1239 extent[0] = val;
1240 }
1241}
1242
1243/**
1244 * NOTICE:

Callers 2

constructorMethod · 0.90

Calls 1

isValidNumberForExtentFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…