SearchMatchContext.getData method
SearchMatchContext › getData
Unofficial
Reads a value attached to the context.Signature:
getData(key: unknown): unknownParameters:
| Parameter | Type | Description |
|---|---|---|
| key | unknown | The value's key. |
Returns: unknown — The value, undefined if it is not set, or null when the context has no values at all.