isToday
import { isToday } from "https://esm.sh/v135/date-fns@3.6.0/index.d.mts";
@example
// If today is 6 October 2014, is 6 October 14:00:00 today?
const result = isToday(new Date(2014, 9, 6, 14, 0))
//=> true
function isToday<DateType extends Date>(date: DateType | number | string): boolean;