Function isLeapYear

与えられた年が閏年かどうかを判定する

  • Parameters

    • year: number

      判定する年

    Returns boolean

    閏年であればtrue、そうでなければfalse