MCPcopy
hub / github.com/arktypeio/arktype / isValidDateInstance

Function isValidDateInstance

ark/type/keywords/string.ts:224–224  ·  view source on GitHub ↗
(date: Date)

Source from the content-addressed store, hash-verified

222}
223
224const isValidDateInstance = (date: Date) => !Number.isNaN(+date)
225
226const writeFormattedExpected = (format: DateFormat) =>
227 `a ${format}-formatted date`

Callers 1

tryParseDatePatternFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…