simple-squiggle

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

setIsSubset.js (625B)


      1 "use strict";
      2 
      3 Object.defineProperty(exports, "__esModule", {
      4   value: true
      5 });
      6 exports.setIsSubsetDocs = void 0;
      7 var setIsSubsetDocs = {
      8   name: 'setIsSubset',
      9   category: 'Set',
     10   syntax: ['setIsSubset(set1, set2)'],
     11   description: 'Check whether a (multi)set is a subset of another (multi)set: every element of set1 is the element of set2. Multi-dimension arrays will be converted to single-dimension arrays before the operation.',
     12   examples: ['setIsSubset([1, 2], [3, 4, 5, 6])', 'setIsSubset([3, 4], [3, 4, 5, 6])'],
     13   seealso: ['setUnion', 'setIntersect', 'setDifference']
     14 };
     15 exports.setIsSubsetDocs = setIsSubsetDocs;