MCPcopy
hub / github.com/date-fns/date-fns / isTuesday

Function isTuesday

pkgs/core/src/isTuesday/index.ts:27–32  ·  view source on GitHub ↗
(
  date: DateArg<Date> & {},
  options?: IsTuesdayOptions | undefined,
)

Source from the content-addressed store, hash-verified

25 * //=> true
26 */
27export function isTuesday(
28 date: DateArg<Date> & {},
29 options?: IsTuesdayOptions | undefined,
30): boolean {
31 return toDate(date, options?.in).getDay() === 2;
32}

Callers 2

test.tsFile · 0.90
_testFunction · 0.90

Calls 1

toDateFunction · 0.90

Tested by

no test coverage detected