(expr, func: Iterable[Callable] = None)
| 63 | |
| 64 | |
| 65 | def is_call_function(expr, func: Iterable[Callable] = None): |
| 66 | if func and not isinstance(func, Iterable): |
| 67 | func = (func,) |
| 68 | return isinstance(expr, CallFunction) and ( |
| 69 | func is None or any(expr.func == f for f in func) |
| 70 | ) |
| 71 | |
| 72 | |
| 73 | def is_constant(expr): |
no outgoing calls
no test coverage detected