# skip

> For the complete documentation index, see [llms.txt](https://docs.midnight.network/llms.txt)

Directs the executor to skip this field or fragment when the `if` argument is true.

```
directive @skip(if: Boolean!) on FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT
```

### Arguments[​](#arguments "Direct link to Arguments")

#### [`skip.if`](#if) ● [`Boolean!`](https://docs.midnight.network/api-reference/midnight-indexer/types/scalars/boolean.md) non-null scalar[​](#if "Direct link to if")
