year-of-rooster
v1.0.6
Published
Check if is year of Rooster
Downloads
8
Maintainers
Readme
year-of-rooster
Check if is year of Rooster
Install
$ npm install --save year-of-rooster
Usage
const yearOfRooster = require('year-of-rooster');
yearOfRooster(1993);
// true
yearOfRooster(1994);
// false
API
yearOfRooster([year])
year
Type: number
Default: current year
yearOfRooster([date])
date
Type: date
Default: new Date()
License
MIT © haotian Chang