hasNumericValue.js 747 B

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