simple-squiggle

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

boolean.js (371B)


      1 export var booleanDocs = {
      2   name: 'boolean',
      3   category: 'Construction',
      4   syntax: ['x', 'boolean(x)'],
      5   description: 'Convert a string or number into a boolean.',
      6   examples: ['boolean(0)', 'boolean(1)', 'boolean(3)', 'boolean("true")', 'boolean("false")', 'boolean([1, 0, 1, 1])'],
      7   seealso: ['bignumber', 'complex', 'index', 'matrix', 'number', 'string', 'unit']
      8 };