Function: consumeInclude()
consumeInclude<
C
,D
>(context
,defaultValue
?):Exclude
<D
,undefined
> |Exclude
<C
&Partial
<ConsumeInclude
>["include"
],undefined
>
Type parameters
• C extends object
• D = never
Parameters
• context: C
& Partial
<ConsumeInclude
>
• defaultValue?: D
Returns
Exclude
<D
, undefined
> | Exclude
<C
& Partial
<ConsumeInclude
>["include"
], undefined
>
Source
packages/core/src/actions/context/consumers/consumeInclude.ts:4