mod.js 301 B

12345678
  1. export var modDocs = {
  2. name: 'mod',
  3. category: 'Operators',
  4. syntax: ['x % y', 'x mod y', 'mod(x, y)'],
  5. description: 'Calculates the modulus, the remainder of an integer division.',
  6. examples: ['7 % 3', '11 % 2', '10 mod 4', 'isOdd(x) = x % 2', 'isOdd(2)', 'isOdd(3)'],
  7. seealso: ['divide']
  8. };