(node *Node)
| 1863 | } |
| 1864 | |
| 1865 | func IsImportNode(node *Node) bool { |
| 1866 | return IsAnyImportSyntax(node) || NodeKindIs(node, KindJSImportDeclaration) |
| 1867 | } |
| 1868 | |
| 1869 | // Checks if the node is a genuine import declation. In particular the re-parsed KindJSImportDeclaration |
| 1870 | // is explicitly excluded because the callers of this function are typically not prepared to handle it properly. |
no test coverage detected