(value: unknown)
| 54 | * distinguish Document from other values. |
| 55 | */ |
| 56 | export function isDocument(value: unknown): value is Document { |
| 57 | return isNode(value) && value.nodeType === 9; |
| 58 | } |
| 59 | |
| 60 | /** |
| 61 | * Type guard that checks if a value is a ShadowRoot. Uses nodeType and host property checks to |
no test coverage detected