Algosim documentation: IsLeapYear

IsLeapYear

Tests if a given year is a leap year.

Syntax

Description

If y is an integer, then IsLeapYear(y) returns true iff the year y is a leap year.

Examples

IsLeapYear(1952)
true