> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/miscellaneous/llms.txt)
> Source: https://docs.saleor.io/api-reference/miscellaneous/directives/skip

# skip Directive

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

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

<a id="arguments"></a>

### Arguments

<a id="if"></a>

#### [`if`](#if) ● [`Boolean!`](/api-reference/miscellaneous/scalars/boolean.md)

Skipped when true.
