simple-squiggle

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

setDistinct.js (492B)


      1 "use strict";
      2 
      3 Object.defineProperty(exports, "__esModule", {
      4   value: true
      5 });
      6 exports.setDistinctDocs = void 0;
      7 var setDistinctDocs = {
      8   name: 'setDistinct',
      9   category: 'Set',
     10   syntax: ['setDistinct(set)'],
     11   description: 'Collect the distinct elements of a multiset. A multi-dimension array will be converted to a single-dimension array before the operation.',
     12   examples: ['setDistinct([1, 1, 1, 2, 2, 3])'],
     13   seealso: ['setMultiplicity']
     14 };
     15 exports.setDistinctDocs = setDistinctDocs;