Documentation / @ripl/core / typeIsContext
Function: typeIsContext() ​
typeIsContext(
value):value is Context<Element, Record<string, unknown>>
Defined in: packages/core/src/context/context.ts:851
Type guard that checks whether a value is a Context instance.
Parameters ​
| Parameter | Type |
|---|---|
value | unknown |
Returns ​
value is Context<Element, Record<string, unknown>>