Skip to main content
Version: mainnet (v0.71)

include

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

directive @include(
if: Boolean!
)

Arguments

include.if ● Boolean! non-null scalar

Included when true.