(node: unknown)
| 87 | * @returns {boolean} Returns `true` if the given node is an element; otherwise, `false`. |
| 88 | */ |
| 89 | export function isElement(node: unknown): node is Element { |
| 90 | return typeof node === 'object' && node !== null && (node as Node).nodeType === 1; |
| 91 | } |
| 92 | |
| 93 | const REGEXP_CAMEL_CASE = /([a-z\d])([A-Z])/g; |
| 94 |
no outgoing calls
no test coverage detected
searching dependent graphs…