Checks if a given year is a leap year.
The year to check.
true if the year is a leap year.
true
isLeapYear(2024); // true Copy
isLeapYear(2024); // true
Checks if a given year is a leap year.