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
10 lines (9 loc) • 317 B
JavaScript
;
module.exports = {
'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']
};