function isLeapimport { isLeap } from "https://deno.land/std@0.115.0/datetime/mod.ts"; isLeap(year: Date | number): booleanCheck given year is a leap year or not. based on : https://docs.microsoft.com/en-us/office/troubleshoot/excel/determine-a-leap-year Check given year is a leap year or not. based on : https://docs.microsoft.com/en-us/office/troubleshoot/excel/determine-a-leap-year Parametersyear: Date | numberyear in number or Date format Returnsboolean