Skip to main content

is_leap_year

Function is_leap_year 

Source
pub fn is_leap_year(year: u64) -> bool
Expand description

Determines if a year is a leap year.

§Arguments

  • u64 - The year to check.

§Returns

  • bool - Whether the year is a leap year.