True if a is a function application.
(a: object)
| 2554 | |
| 2555 | |
| 2556 | def is_app(a: object) -> bool: |
| 2557 | """True if a is a function application.""" |
| 2558 | return isinstance(a, ExprRef) and isinstance(a._ast, AppNode) |
| 2559 | |
| 2560 | |
| 2561 | def is_func_decl(a: object) -> bool: |
no outgoing calls