mathjs
Version:
Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif
18 lines (17 loc) • 341 B
JavaScript
export const orDocs = {
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'
]
}