Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/date-fns/date-fns
/ isValidDate
Function
isValidDate
pkgs/core/src/_lib/test/tzOffsetTransitions.ts:38–40 ·
view source on GitHub ↗
(date: unknown)
Source
from the content-addressed store, hash-verified
36
}
37
38
function
isValidDate(date: unknown): date is Date {
39
return
date instanceof Date && !isNaN(date.getTime());
40
}
41
42
const
MINUTE = 1000 * 60;
43
Callers
1
getTzOffsetTransitions
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected