(node: Node)
| 7141 | node.type === "RestElement" |
| 7142 | |
| 7143 | export const isFunctionNode = (node: Node): node is FunctionNode => |
| 7144 | node.type === "ArrowFunctionExpression" || |
| 7145 | node.type === "FunctionExpression" || |
| 7146 | node.type === "FunctionDeclaration" |
| 7147 | |
| 7148 | // e.g. `t.describe("short")` in `{ const t = type("string"); return t.describe("short") }` |
| 7149 | export const staticBodyOf = (fn: FunctionNode): Node | undefined => { |
no outgoing calls
no test coverage detected