UNPKG

mathjs

Version:

Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser and offers an integrated solution to work with numbers, big numbers, complex numbers, units, and matrices.

16 lines (15 loc) 361 B
module.exports = { 'name': 'isNegative', 'category': 'Utils', 'syntax': [ 'isNegative(x)' ], 'description': 'Test whether a value is negative: smaller than zero.', 'examples': [ 'isNegative(2)', 'isNegative(0)', 'isNegative(-4)', 'isNegative([3, 0.5, -2])' ], 'seealso': ['isInteger', 'isNumeric', 'isPositive', 'isZero'] };