UNPKG

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

16 lines (15 loc) 360 B
export const isPositiveDocs = { name: 'isPositive', category: 'Utils', syntax: [ 'isPositive(x)' ], description: 'Test whether a value is positive: larger than zero.', examples: [ 'isPositive(2)', 'isPositive(0)', 'isPositive(-4)', 'isPositive([3, 0.5, -2])' ], seealso: ['isInteger', 'isNumeric', 'isNegative', 'isZero'] }