hasNumericValue.js (747B)
1 "use strict"; 2 3 Object.defineProperty(exports, "__esModule", { 4 value: true 5 }); 6 exports.hasNumericValueDocs = void 0; 7 var hasNumericValueDocs = { 8 name: 'hasNumericValue', 9 category: 'Utils', 10 syntax: ['hasNumericValue(x)'], 11 description: 'Test whether a value is an numeric value. ' + 'In case of a string, true is returned if the string contains a numeric value.', 12 examples: ['hasNumericValue(2)', 'hasNumericValue("2")', 'isNumeric("2")', 'hasNumericValue(0)', 'hasNumericValue(bignumber(500))', 'hasNumericValue(fraction(0.125))', 'hasNumericValue(2 + 3i)', 'hasNumericValue([2.3, "foo", false])'], 13 seealso: ['isInteger', 'isZero', 'isNegative', 'isPositive', 'isNaN', 'isNumeric'] 14 }; 15 exports.hasNumericValueDocs = hasNumericValueDocs;