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

Function dateNew

src/common/other.ts:67–68  ·  view source on GitHub ↗
(value?: any)

Source from the content-addressed store, hash-verified

65 thing === undefined;
66
67export const dateNew = (value?: any): Date =>
68 isUndefined(value) ? new date() : new date(value);
69
70export const dateGetUTCFullYear = (dateObj: Date): number =>
71 dateObj.getUTCFullYear();

Callers 5

getTickLabelFunction · 0.90
getTimeTickLabelFunction · 0.90
floorTimeFunction · 0.90
addTimeFunction · 0.90
getTimeFunction · 0.90

Calls 1

isUndefinedFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…