function isLeapimport { isLeap } from "https://dotland.deno.dev/std@0.131.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