year-of-rat
v1.0.2
Published
Check if is year of Rat
Downloads
13
Maintainers
Readme
year-of-rat
Check if is year of Rat
Install
$ npm install --save year-of-rat
Usage
const yearOfRat = require('year-of-rat');
yearOfRat(1984);
// true
yearOfRat(1985);
// false
API
yearOfRat([year])
year
Type: number
Default: current year
yearOfRat([date])
date
Type: date
Default: new Date()
License
MIT © haotian Chang