mirror of
https://github.com/josdejong/mathjs.git
synced 2025-12-08 19:46:04 +00:00
19 lines
379 B
JavaScript
19 lines
379 B
JavaScript
module.exports = {
|
|
'name': 'xor',
|
|
'category': 'Logical',
|
|
'syntax': [
|
|
'x or y',
|
|
'or(x, y)'
|
|
],
|
|
'description': 'Logical exclusive or, xor. Test whether one and only one value is defined with a nonzero/nonempty value.',
|
|
'examples': [
|
|
'true xor false',
|
|
'false xor false',
|
|
'true xor true',
|
|
'0 or 4'
|
|
],
|
|
'seealso': [
|
|
'not', 'and', 'or'
|
|
]
|
|
};
|