arudradey's picture
download
raw
411 Bytes
/*!
* is-number <https://github.com/jonschlinkert/is-number>
*
* Copyright (c) 2014-present, Jon Schlinkert.
* Released under the MIT License.
*/
'use strict';
module.exports = function(num) {
if (typeof num === 'number') {
return num - num === 0;
}
if (typeof num === 'string' && num.trim() !== '') {
return Number.isFinite ? Number.isFinite(+num) : isFinite(+num);
}
return false;
};

Xet Storage Details

Size:
411 Bytes
·
Xet hash:
723c5b66da22e46e1d66bde0679d9ee967eb446fec78d3d741fdccd66f86d5f6

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.