We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 339052e commit 89ceb7aCopy full SHA for 89ceb7a
1 file changed
esm/dom/utils.js
@@ -4,6 +4,11 @@ import { childNodes, nodeType, parentNode } from './symbols.js';
4
5
import { empty } from '../utils.js';
6
7
+
8
+/**
9
+ * @param {import("./element.js").default} element
10
+ * @returns {boolean}
11
+ */
12
export const asElement = ({ [nodeType]: type }) => type === ELEMENT_NODE;
13
14
export const changeParentNode = (node, parent) => {
0 commit comments