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

Function isThisQuarter

pkgs/core/src/isThisQuarter/index.ts:30–38  ·  view source on GitHub ↗
(
  date: DateArg<Date> & {},
  options?: IsThisQuarterOptions,
)

Source from the content-addressed store, hash-verified

28 * //=> true
29 */
30export function isThisQuarter(
31 date: DateArg<Date> & {},
32 options?: IsThisQuarterOptions,
33): boolean {
34 return isSameQuarter(
35 constructFrom(options?.in || date, date),
36 constructNow(options?.in || date),
37 );
38}

Callers 2

test.tsFile · 0.90
_testFunction · 0.90

Calls 3

isSameQuarterFunction · 0.90
constructFromFunction · 0.90
constructNowFunction · 0.90

Tested by

no test coverage detected