18 lines
265 B
JavaScript

module.exports = {
'name': 'unaryminus',
'category': 'Operators',
'syntax': [
'-x',
'unaryminus(x)'
],
'description':
'Inverse the sign of a value.',
'examples': [
'-4.5',
'-(-5.6)'
],
'seealso': [
'add', 'subtract'
]
};