( node: Node )
| 2022 | |
| 2023 | // a function expression that neither names itself nor is async or a generator |
| 2024 | const isPlainFunction = ( |
| 2025 | node: Node |
| 2026 | ): node is Node & { type: "FunctionExpression"; body: Node } => |
| 2027 | node.type === "FunctionExpression" && |
| 2028 | !node.id && |
| 2029 | !!node.body && |
| 2030 | !node.async && |
| 2031 | !node.generator |
| 2032 | |
| 2033 | interface FailingCall { |
| 2034 | callee: Span |
no outgoing calls
no test coverage detected