setUnion.js 538 B

123456789101112131415
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.setUnionDocs = void 0;
  6. var setUnionDocs = {
  7. name: 'setUnion',
  8. category: 'Set',
  9. syntax: ['setUnion(set1, set2)'],
  10. description: 'Create the union of two (multi)sets. Multi-dimension arrays will be converted to single-dimension arrays before the operation.',
  11. examples: ['setUnion([1, 2, 3, 4], [3, 4, 5, 6])', 'setUnion([[1, 2], [3, 4]], [[3, 4], [5, 6]])'],
  12. seealso: ['setIntersect', 'setDifference']
  13. };
  14. exports.setUnionDocs = setUnionDocs;