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