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.

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