commonMain.krono.utils.LeapYear.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of krono-api-jvm Show documentation
Show all versions of krono-api-jvm Show documentation
An multiplatform interoperable datetime library
@file:JsExport
package krono.utils
import kotlinx.JsExport
fun isLeapYear(year: Int) = year % 4 == 0