Remove dom.isInDom (#194752)

This commit is contained in:
Matt Bierner
2023-10-03 15:08:44 -07:00
committed by GitHub
parent e4ecdbcced
commit f42c55740d
4 changed files with 3 additions and 10 deletions

View File

@@ -46,13 +46,6 @@ export function clearNode(node: HTMLElement): void {
}
}
/**
* @deprecated Use node.isConnected directly
*/
export function isInDOM(node: Node | null): boolean {
return node?.isConnected ?? false;
}
class DomListener implements IDisposable {
private _handler: (e: any) => void;