1.0.1 • Published 1 year ago

is-a-cat v1.0.1

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
1 year ago

is-a-cat

Return true if the given value is cat or niko.

Install

Install with npm:

$ npm install --save is-a-cat

Usage

var iscat = require('is-a-cat');

iscat(0);
//=> false
iscat(null);
//=> false
iscat("2");
//=> false
iscat("cat");
//=> true
iscat("niko");
//=> true
1.0.1

1 year ago

1.0.0

1 year ago