Written by the Fiveable Content Team • Last updated August 2025
Verified for the 2026 exam
Verified for the 2026 exam•Written by the Fiveable Content Team • Last updated August 2025
Definition
The method `isLeap` is a boolean method used to determine if a given year is a leap year or not. It returns `true` if the year is a leap year, and `false` if it is not.