This commit is contained in:
8
node_modules/licia/isFinite.js
generated
vendored
Normal file
8
node_modules/licia/isFinite.js
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
var root = require('./root');
|
||||
var nativeIsFinite = root.isFinite;
|
||||
var nativeIsNaN = root.isNaN;
|
||||
exports = function(val) {
|
||||
return nativeIsFinite(val) && !nativeIsNaN(parseFloat(val));
|
||||
};
|
||||
|
||||
module.exports = exports;
|
||||
Reference in New Issue
Block a user