Last date modified: 2026-Sep-09

Interface: ITextSearch

Represents a text search.

Methods

next()

next(): Promise<ITextSearchHit>

Finds the next occurrence of the search term in the text and returns a ITextSearchHit. If no additional occurrences are found, returns undefined.

Returns

Promise<ITextSearchHit>

Feedback