Skip to content

SearchMatchContext.setData method

SearchMatchContext › setData

Unofficial

Attaches a value to the context.

Signature:

setData(key: unknown, value: unknown): void

Parameters:

ParameterTypeDescription
keyunknownThe value's key.
valueunknownThe value.

Returns: void