bitwiseNot

Returns the bitwise NOT of the given number.

Arguments

  • number - The number to bitwise NOT.

Example

{
  "$template": {
    "$comment": "The field below will be -4",
    "test": "{{bitwiseNot(3)}}"
  }
}