src/vs/workbench/services/search/common/textSearchManager.ts/extensionResultIsMatch
export function extensionResultIsMatch(data: TextSearchResult): data is TextSearchMatch {
	return !!(<TextSearchMatch>data).preview;
}