isEqual
import { isEqual } from "https://esm.sh/v135/date-fns@3.6.0/index.d.mts";
@example
// Are 2 July 2014 06:30:45.000 and 2 July 2014 06:30:45.500 equal?
const result = isEqual(
new Date(2014, 6, 2, 6, 30, 45, 0),
new Date(2014, 6, 2, 6, 30, 45, 500)
)
//=> false
function isEqual<DateType extends Date>(leftDate: DateType | number | string, rightDate: DateType | number | string): boolean;