simple-squiggle

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

smaller.js (391B)


      1 export var smallerDocs = {
      2   name: 'smaller',
      3   category: 'Relational',
      4   syntax: ['x < y', 'smaller(x, y)'],
      5   description: 'Check if value x is smaller than value y. Returns true if x is smaller than y, and false if not.',
      6   examples: ['2 < 3', '5 < 2*2', 'a = 3.3', 'b = 6-2.8', '(a < b)', '5 cm < 2 inch'],
      7   seealso: ['equal', 'unequal', 'larger', 'smallerEq', 'largerEq', 'compare']
      8 };