UNPKG

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

10 lines (9 loc) 356 B
"use strict"; module.exports = { 'name': 'xor', 'category': 'Logical', 'syntax': ['x xor y', 'xor(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 xor 4'], 'seealso': ['not', 'and', 'or'] };