main.cesium.isLeapYear.kt Maven / Gradle / Ivy
// Automatically generated - do not modify!
@file:JsModule("cesium")
package cesium
/**
* Determines if a given date is a leap year.
* ```
* const leapYear = isLeapYear(2000); // true
* ```
* @param [year] The year to be tested.
* @return True if `year` is a leap year.
* @see Online Documentation
*/
external fun isLeapYear(year: Int): Boolean