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

# Logic: Not

> Filters items that do not match the filter.

Reverses a condition. It keeps an item only when the condition you choose does **not** match, and filters out the items that do match. Use this to express the opposite of a check, for example "keep every order that is **not** cancelled" by wrapping a "status equals cancelled" condition in this one.

This documentation describes: [Schema](/schemas/filter/not-condition)

## Fields

**Condition**

Required

The condition to reverse. You pick a single condition here; an item is kept when that condition fails, and filtered out when it matches.

See the [filter](/references/filter) reference.

## Sample data

This filter answers yes or no for each item, so there is no before and after. The example wraps a "status equals paid" condition, so it keeps everything that is **not** paid.

| Field | Value |
| - | - |
| Condition | `status` equals `paid` |

| Incoming item | Result |
| - | - |
| `{ "status": "paid" }` | does not match |
| `{ "status": "pending" }` | matches |

```json Configuration theme={null}
{
  "prototype": "not-condition",
  "parameters": {
    "filter": {
      "prototype": "value-condition-v2",
      "parameters": {
        "accessor": { "prototype": "key", "parameters": { "keys": ["status"] } },
        "conditions": [ { "prototype": "equals", "parameters": { "value": "paid" } } ]
      }
    }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.