/*! * is-odd <https://github.com/jonschlinkert/is-odd> * * Copyright (c) 2015-2017, Jon Schlinkert. * Released under the MIT License. */'use strict';varisNumber=require('is-number');module.exports=functionisOdd(i){if(!isNumber(i)){thrownewTypeError('is-odd expects a number.');}if(Number(i)!==Math.floor(i)){thrownewRangeError('is-odd expects an integer.');}return!!(~~i&1);};