method
Date.is_leap
Date.is_leap(year) -> bool
Whether year is a leap year on the proleptic Gregorian calendar: divisible by 4, except centuries, which must be divisible by 400.
Example
program Demo {
handler Step phase Update {
let leap = Date.is_leap(2024) # true
}
}