Returns whether the given year is a leap year. Passing in a
Date object will return the leap year status of the year of that
object and take the current timezone into account. Passing in a number will
return the leap year status of that number.
import { isLeap } from"https://deno.land/std@0.223.0/datetime/is_leap.ts";
isLeap(newDate("2000-01-01"));
// true if the local timezone is GMT+0; false if the local timezone is GMT-1isLeap(2000);
// true regardless of the local timezone