codetrix - v1.5.0
    Preparing search index...

    Function isLeapYear

    • Checks if a given year is a leap year.

      Parameters

      • year: number

        The year to check.

      Returns boolean

      true if the year is a leap year.

      isLeapYear(2024); // true