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

15 lines (14 loc) 326 B
export const isIntegerDocs = { name: 'isInteger', category: 'Utils', syntax: [ 'isInteger(x)' ], description: 'Test whether a value is an integer number.', examples: [ 'isInteger(2)', 'isInteger(3.5)', 'isInteger([3, 0.5, -2])' ], seealso: ['isNegative', 'isNumeric', 'isPositive', 'isZero'] }