Skip to content

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 ​

ParameterType
valueunknown

Returns ​

value is Context<Element, Record<string, unknown>>