IsLeapYear()

Determines whether a year is a leap year.

IsLeapYear( year=number );

Returns: Boolean

Argument Description
year
number, required

Number representing a year

Alias: value

Examples

writeDump(label:"2018", var:IsLeapYear(2018));
writeDump(label:"2020", var:IsLeapYear(2020));
writeDump(label:"1", var:IsLeapYear(1));

See also