isLeapYear
import { isLeapYear } from "https://esm.sh/v135/date-fns@3.6.0/index.d.mts";
@example
// Is 1 September 2012 in the leap year?
const result = isLeapYear(new Date(2012, 8, 1))
//=> true
function isLeapYear<DateType extends Date>(date: DateType | number | string): boolean;