/*! * is-number <https://github.com/jonschlinkert/is-number> * * Copyright (c) 2014-2015, Jon Schlinkert. * Licensed under the MIT License. */'use strict';vartypeOf=require('kind-of');module.exports=functionisNumber(num){vartype=typeOf(num);if(type==='string'){if(!num.trim())returnfalse;}elseif(type!=='number'){returnfalse;}return(num-num+1)>=0;};