Skip to content

SearchMatchContext.clone method

SearchMatchContext › clone

Unofficial

Copies the context. SearchMatchContext.strings, SearchMatchContext.keys and SearchMatchContext.data are copied; SearchMatchContext.cache is shared.

Signature:

clone(): SearchMatchContext

Returns: SearchMatchContext — The copy.