UNPKG

mathjs

Version:

Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser and offers an integrated solution to work with numbers, big numbers, complex numbers, units, and matrices.

18 lines (17 loc) 332 B
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' ] };