MCPcopy Index your code
hub / github.com/tinyplex/tinybase / getTime

Function getTime

src/ui-react-dom-charts/common/data.ts:407–410  ·  view source on GitHub ↗
(value: string | Date)

Source from the content-addressed store, hash-verified

405 : undefined;
406
407const getTime = (value: string | Date): number | undefined => {
408 const time = +dateNew(value);
409 return isFiniteNumber(time) ? mathFloor(time) : undefined;
410};
411
412const getXValue = (
413 cell: CellOrUndefined | ResultCellOrUndefined,

Callers 1

normalizeTimeValueFunction · 0.70

Calls 1

dateNewFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…