simple-squiggle

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

setUnion.js (397B)


      1 export var setUnionDocs = {
      2   name: 'setUnion',
      3   category: 'Set',
      4   syntax: ['setUnion(set1, set2)'],
      5   description: 'Create the union of two (multi)sets. Multi-dimension arrays will be converted to single-dimension arrays before the operation.',
      6   examples: ['setUnion([1, 2, 3, 4], [3, 4, 5, 6])', 'setUnion([[1, 2], [3, 4]], [[3, 4], [5, 6]])'],
      7   seealso: ['setIntersect', 'setDifference']
      8 };