year-of-horse
v1.0.4
Published
Check if is year of Horse
Downloads
7
Maintainers
Readme
year-of-horse
Check if is year of Horse
Install
$ npm install --save year-of-horse
Usage
const yearOfHorse = require('year-of-horse');
yearOfHorse(1990);
// true
yearOfHorse(1991);
// false
API
yearOfHorse([year])
year
Type: number
Default: current year
yearOfHorse([date])
date
Type: date
Default: new Date()
License
MIT © haotian Chang