Skip to content

SearchMatchContext.getData method

SearchMatchContext › getData

Unofficial

Reads a value attached to the context.

Signature:

getData(key: unknown): unknown

Parameters:

ParameterTypeDescription
keyunknownThe value's key.

Returns: unknown — The value, undefined if it is not set, or null when the context has no values at all.