isLeapYear

isLeapYear(): Boolean;

The isLeapYear method of the Date primitive type returns true if the year of the locale and calendar that is set for the current user is a leap year.