is-valid-year

Returns true if a year is valid based on a given year, range of years, sequences of years, or any mixture of these.

Browse on unpkg