3 lines
76 B
JavaScript
Raw Normal View History

2025-02-28 19:43:11 +08:00
export function isDocument(node) {
return node.nodeName === '#document';
}