Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BrasilAPI/BrasilAPI
/ isValidDate
Function
isValidDate
services/date.js:23–23 ·
view source on GitHub ↗
(date)
Source
from the content-addressed store, hash-verified
21
};
22
23
export
const
isValidDate = (date) => dayjs(date).isValid();
24
25
export
const
isWeekend = (date) => {
26
return
WEEKEND.includes(dayjs(date).get(
'day'
));
Callers
1
Action
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected