> ## Documentation Index
> Fetch the complete documentation index at: https://docs.metrics-man.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Not

# \$not

The `$not` operator negates the boolean value of a single expression.

## Input

* A single expression to evaluate

## Output

* `true` if the expression evaluates to a falsy value
* `false` if the expression evaluates to a truthy value

## Examples

### Negating True

```json theme={null}
{
  "$not": [
    true
  ]
}
```

Result: `false`

### Negating False

```json theme={null}
{
  "$not": [
    false
  ]
}
```

Result: `true`

### Negating Expression Result

```json theme={null}
{
  "$not": [
    {
      "$eq": [
        {
          "$input": "status"
        },
        "active"
      ]
    }
  ]
}
```

Result: `true` if the status is NOT "active", otherwise `false`
