# not

> **not**(`key`): [`Predicate`](https://docs.arkiv.network/typescript-sdk/api-reference/query/type-aliases/predicate/)

Defined in: [src/query/predicate.ts:138](https://github.com/Arkiv-Network/arkiv-sdk-js/blob/9dd881b502454af6c7b7167106762d4ea0269389/src/query/predicate.ts#L138)

Creates a not predicate

## Parameters

### key

`string`

The key to compare

## Returns

[`Predicate`](https://docs.arkiv.network/typescript-sdk/api-reference/query/type-aliases/predicate/)

The not predicate

## Example

```ts
const predicate = not("name")
// result = { type: "not", key: "name", value: "" }
```