MCPcopy
hub / github.com/apache/echarts / isPrimaryTimeUnit

Function isPrimaryTimeUnit

src/util/time.ts:260–262  ·  view source on GitHub ↗
(timeUnit: TimeUnit)

Source from the content-addressed store, hash-verified

258}
259
260export function isPrimaryTimeUnit(timeUnit: TimeUnit): boolean {
261 return timeUnit === getPrimaryTimeUnit(timeUnit);
262}
263
264export function getDefaultFormatPrecisionOfInterval(timeUnit: PrimaryTimeUnit): PrimaryTimeUnit {
265 switch (timeUnit) {

Callers 1

createIntervalTicksFunction · 0.90

Calls 1

getPrimaryTimeUnitFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…