Determine if the specified year is a leap year.

This function is valid in v2.1.0 to v2.24.2. This function has been downloaded 40 times.


{Date|number=} opt_year Optional, Default:new Date()
The year to be tested. If a date is specified the year from that date will be used. If nothing is specified the current year will be used.


true if year is a leap year, otherwise false.