bitNot.js 531 B

123456789101112131415
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.bitNotDocs = void 0;
  6. var bitNotDocs = {
  7. name: 'bitNot',
  8. category: 'Bitwise',
  9. syntax: ['~x', 'bitNot(x)'],
  10. description: 'Bitwise NOT operation. Performs a logical negation on each bit of the given value. Bits that are 0 become 1, and those that are 1 become 0.',
  11. examples: ['~1', '~2', 'bitNot([2, -3, 4])'],
  12. seealso: ['bitAnd', 'bitOr', 'bitXor', 'leftShift', 'rightArithShift', 'rightLogShift']
  13. };
  14. exports.bitNotDocs = bitNotDocs;