commonMain.krono.utils.LeapYear.kt Maven / Gradle / Ivy
@file:JsExport
package krono.utils
import kotlinx.JsExport
fun isLeapYear(year: Int) = year % 4 == 0
@file:JsExport
package krono.utils
import kotlinx.JsExport
fun isLeapYear(year: Int) = year % 4 == 0