mod.js 427 B

123456789101112131415
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.modDocs = void 0;
  6. var modDocs = {
  7. name: 'mod',
  8. category: 'Operators',
  9. syntax: ['x % y', 'x mod y', 'mod(x, y)'],
  10. description: 'Calculates the modulus, the remainder of an integer division.',
  11. examples: ['7 % 3', '11 % 2', '10 mod 4', 'isOdd(x) = x % 2', 'isOdd(2)', 'isOdd(3)'],
  12. seealso: ['divide']
  13. };
  14. exports.modDocs = modDocs;