MCPcopy Create free account
hub / github.com/dailydotdev/apps / isSameRead

Function isSameRead

packages/shared/src/hooks/useReadingHistory.ts:77–78  ·  view source on GitHub ↗
(a?: Date | string, b?: Date | string)

Source from the content-addressed store, hash-verified

75 }));
76
77const isSameRead = (a?: Date | string, b?: Date | string): boolean =>
78 !!a && !!b && new Date(a).getTime() === new Date(b).getTime();
79
80export const removeReadingHistoryEntry = (
81 client: QueryClient,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected