GT2/GT2-iOS/node_modules/is-redirect
Ren Ren Juan 30eef7d036 correct tree err 2018-02-12 17:26:06 +00:00
..
index.js correct tree err 2018-02-12 17:26:06 +00:00
license correct tree err 2018-02-12 17:26:06 +00:00
package.json correct tree err 2018-02-12 17:26:06 +00:00
readme.md correct tree err 2018-02-12 17:26:06 +00:00

readme.md

is-redirect Build Status

Check if a number is a redirect HTTP status code

Install

$ npm install --save is-redirect

Usage

var isRedirect = require('is-redirect');

isRedirect(302);
//=> true

isRedirect(200);
//=> false

License

MIT © Sindre Sorhus