GT2/GT2-Android/node_modules/is-redirect
Ren Ren Juan c5fd23b54f Get new tree with state verified with current React Native on both platforms 2018-02-12 17:11:06 +00:00
..
index.js Get new tree with state verified with current React Native on both platforms 2018-02-12 17:11:06 +00:00
license Get new tree with state verified with current React Native on both platforms 2018-02-12 17:11:06 +00:00
package.json Get new tree with state verified with current React Native on both platforms 2018-02-12 17:11:06 +00:00
readme.md Get new tree with state verified with current React Native on both platforms 2018-02-12 17:11: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