src/vs/editor/common/services/getSemanticTokens.ts/isSemanticTokensEdits
export function isSemanticTokensEdits(v: SemanticTokens | SemanticTokensEdits): v is SemanticTokensEdits {
	return v && Array.isArray((<SemanticTokensEdits>v).edits);
}