(year: number)
| 7 | * otherwise. |
| 8 | */ |
| 9 | export const isLeapYear = (year: number) => { |
| 10 | return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0; |
| 11 | }; |
| 12 | |
| 13 | /** |
| 14 | * Determines the hour cycle for a user. |
no outgoing calls
no test coverage detected