Skip to content

ContextVariable

ContextVariable represents a structured message whose fields are to be treated as the top-level variable identifiers within CEL expressions.

new ContextVariable(typeName): ContextVariable

Constructor creates a serializable context variable with a specific type name.

string

ContextVariable

typeName: string

validate(): Error | undefined

Validate validates the context-variable configuration is well-formed.

Error | undefined