setMultiplicity.js 576 B

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