simple-squiggle

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

not.js (257B)


      1 export var notDocs = {
      2   name: 'not',
      3   category: 'Logical',
      4   syntax: ['not x', 'not(x)'],
      5   description: 'Logical not. Flips the boolean value of given argument.',
      6   examples: ['not true', 'not false', 'not 2', 'not 0'],
      7   seealso: ['and', 'or', 'xor']
      8 };