Skip to content

stephenmathieson-boneyard/is-leap-year

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

is-leap-year

check if the given year is a leap year

Installation

Install with component(1):

$ component install stephenmathieson/is-leap-year

Install with npm:

$ npm install is-leap-year

API

isLeapYear(Date)

Check if the year of the given Date is is a leap year

isLeapYear(year)

Check if the given year (Number) is a leap year

License

MIT

About

check if the given year is a leap year

Resources

Stars

Watchers

Forks

Packages

No packages published