Skip to main content

is_leap_year

Function is_leap_year 

Source
pub exec fn is_leap_year(year: u16) -> bool
Expand description
returns
is_ly!(year),

Checks if the given year is a leap year according to the Gregorian calendar.