year-of-monkey
v1.0.5
Published
Check if is year of Monkey
Downloads
5
Maintainers
Readme
year-of-monkey
Check if is year of Monkey
Install
$ npm install --save year-of-monkey
Usage
const yearOfMonkey = require('year-of-monkey');
yearOfMonkey(1991);
// true
yearOfMonkey(1992);
// false
API
yearOfMonkey([year])
year
Type: number
Default: current year
yearOfMonkey([date])
date
Type: date
Default: new Date()
License
MIT © haotian Chang