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

Function isThisSecond

pkgs/core/src/isThisSecond/index.ts:24–26  ·  view source on GitHub ↗
(date: DateArg<Date> & {})

Source from the content-addressed store, hash-verified

22 * //=> true
23 */
24export function isThisSecond(date: DateArg<Date> & {}): boolean {
25 return isSameSecond(date, constructNow(date));
26}

Callers 1

test.tsFile · 0.90

Calls 2

isSameSecondFunction · 0.90
constructNowFunction · 0.90

Tested by

no test coverage detected