NPM Dependencies UPDATE
This commit is contained in:
1 parent
20c29bb4d6
commit
a9bfe7a413
599 files changed
+12369
-51423
No files matched your search
+20
@@ -0,0 +1,20 @@
|
||||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = isNumeric;
|
||||
|
||||
var _assertString = require('./util/assertString');
|
||||
|
||||
var _assertString2 = _interopRequireDefault(_assertString);
|
||||
|
||||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||||
|
||||
var numeric = /^[-+]?[0-9]+$/;
|
||||
|
||||
function isNumeric(str) {
|
||||
(0, _assertString2.default)(str);
|
||||
return numeric.test(str);
|
||||
}
|
||||
module.exports = exports['default'];
|
||||
Reference in new issue
Block a user