MCPcopy Create free account
hub / github.com/adobe/react-spectrum / isWeekday

Function isWeekday

packages/@internationalized/date/src/queries.ts:413–415  ·  view source on GitHub ↗
(date: DateValue, locale: string)

Source from the content-addressed store, hash-verified

411
412/** Returns whether the given date is on a weekday in the given locale. */
413export function isWeekday(date: DateValue, locale: string): boolean {
414 return !isWeekend(date, locale);
415}

Callers

nothing calls this directly

Calls 1

isWeekendFunction · 0.85

Tested by

no test coverage detected