mathjs
Version:
Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif
14 lines (13 loc) • 726 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.hasNumericValueDocs = void 0;
var hasNumericValueDocs = exports.hasNumericValueDocs = {
name: 'hasNumericValue',
category: 'Utils',
syntax: ['hasNumericValue(x)'],
description: 'Test whether a value is an numeric value. ' + 'In case of a string, true is returned if the string contains a numeric value.',
examples: ['hasNumericValue(2)', 'hasNumericValue("2")', 'isNumeric("2")', 'hasNumericValue(0)', 'hasNumericValue(bignumber(500))', 'hasNumericValue(fraction(0.125))', 'hasNumericValue(2 + 3i)', 'hasNumericValue([2.3, "foo", false])'],
seealso: ['isInteger', 'isZero', 'isNegative', 'isPositive', 'isNaN', 'isNumeric']
};
;