bitNot.js 396 B

12345678
  1. export var bitNotDocs = {
  2. name: 'bitNot',
  3. category: 'Bitwise',
  4. syntax: ['~x', 'bitNot(x)'],
  5. 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.',
  6. examples: ['~1', '~2', 'bitNot([2, -3, 4])'],
  7. seealso: ['bitAnd', 'bitOr', 'bitXor', 'leftShift', 'rightArithShift', 'rightLogShift']
  8. };