year-of-dog
v1.0.3
Published
Check if is year of Dog
Downloads
10
Maintainers
Readme
year-of-dog
Check if is year of Dog
Install
$ npm install --save year-of-dog
Usage
const yearOfDog = require('year-of-dog');
yearOfDog(1994);
// true
yearOfDog(1995);
// false
API
yearOfDog([year])
year
Type: number
Default: current year
yearOfDog([date])
date
Type: date
Default: new Date()
License
MIT © haotian Chang