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) • 319 B
JavaScript
module.exports = {
'name': 'isZero',
'category': 'Utils',
'syntax': [
'isZero(x)'
],
'description': 'Test whether a value is zero.',
'examples': [
'isZero(2)',
'isZero(0)',
'isZero(-4)',
'isZero([3, 0, -2, 0])'
],
'seealso': ['isInteger', 'isNumeric', 'isNegative', 'isPositive']
};