2015-07-27 21:26:50 +02:00

16 lines
361 B
JavaScript

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']
};