leap?

check if given year is a leap year


Parameters

leap? year :integer :date

Returns

  • :logical

Examples

copy
print leap? now ; false print map 2019..2021 => leap? ; false true false

Related