Function: when()
when<
C,S>(condition,selection):ConditionalSelection<C,S>
Defined in: fate/src/when.ts:10
Include a field or named fragment only when the condition is true.
Type Parameters
C
C extends boolean
S
S
Parameters
condition
C
selection
S
Returns
ConditionalSelection<C, S>