simple-squiggle

A restricted subset of Squiggle
Log | Files | Refs | README

xor.js (333B)


      1 export var xorDocs = {
      2   name: 'xor',
      3   category: 'Logical',
      4   syntax: ['x xor y', 'xor(x, y)'],
      5   description: 'Logical exclusive or, xor. Test whether one and only one value is defined with a nonzero/nonempty value.',
      6   examples: ['true xor false', 'false xor false', 'true xor true', '0 xor 4'],
      7   seealso: ['not', 'and', 'or']
      8 };