mirror of
https://github.com/josdejong/mathjs.git
synced 2025-12-08 19:46:04 +00:00
15 lines
327 B
JavaScript
15 lines
327 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']
|
|
};
|