is-success
v1.0.0
Published
Check if a number is a HTTP success status code
Downloads
1,366
Maintainers
Readme
is-success
Check if a number is a HTTP success status code
Install
$ npm install --save is-success
Usage
var isSuccess = require('is-success');
isSuccess(200);
//=> true
isSuccess(400);
//=> false
Related
License
MIT © Arthur Verschaeve