Function
isVariableStatement
(
u:
| ast.VariableStatement
| ast.ForStatement
| ast.ForOfStatement
| ast.ForInStatement
)
Source from the content-addressed store, hash-verified
| 93 | ): u is ast.VariableDeclarationList => u.getKind() === ast.ts.SyntaxKind.VariableDeclarationList |
| 94 | |
| 95 | const isVariableStatement = ( |
| 96 | u: |
| 97 | | ast.VariableStatement |
| 98 | | ast.ForStatement |
| 99 | | ast.ForOfStatement |
| 100 | | ast.ForInStatement |
| 101 | ): u is ast.VariableStatement => u.getKind() === ast.ts.SyntaxKind.VariableStatement |
| 102 | |
| 103 | const parseDoc = (text: string) => { |
| 104 | const comment = parseComment(text) |
Tested by
no test coverage detected