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

Function unionExtentEndFromNumber

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

Source from the content-addressed store, hash-verified

1246 * - `extent` should be initialized as `initExtentForUnion()`.
1247 */
1248export function unionExtentEndFromNumber(extent: number[], val: number | NullUndefined): void {
1249 if (isValidNumberForExtent(val) && val > extent[1]) {
1250 extent[1] = val;
1251 }
1252}
1253
1254/**
1255 * 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…