mirror of https://github.com/sveltejs/svelte
parent
9fae7671a4
commit
4603d7700f
@ -0,0 +1,5 @@
|
||||
import { Node } from '../../../../interfaces';
|
||||
|
||||
export default function isDomNode(node: Node) {
|
||||
return node.type === 'Element' || node.type === 'Text' || node.type === 'MustacheTag';
|
||||
}
|
Loading…
Reference in new issue