# include

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

```
directive @include(

  if: Boolean!

) on 

  | FIELD

  | FRAGMENT_SPREAD

  | INLINE_FRAGMENT
```

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

#### [`include.if`](#if) ● [`Boolean!`](https://docs.monei.com/apis/graphql/types/scalars/boolean/.md) non-null scalar[​](#if "Direct link to if")

Included when true.
