Return `True` if `a` is a Z3 array expression. >>> a = Array('a', IntSort(), IntSort()) >>> is_array(a) True >>> is_array(Store(a, 0, 1)) True >>> is_array(a[0]) False
(a : Any)
| 4799 | |
| 4800 | |
| 4801 | def is_array(a : Any) -> bool: |
| 4802 | """Return `True` if `a` is a Z3 array expression. |
| 4803 | |
| 4804 | >>> a = Array('a', IntSort(), IntSort()) |
| 4805 | >>> is_array(a) |
| 4806 | True |
| 4807 | >>> is_array(Store(a, 0, 1)) |
| 4808 | True |
| 4809 | >>> is_array(a[0]) |
| 4810 | False |
| 4811 | """ |
| 4812 | return isinstance(a, ArrayRef) |
| 4813 | |
| 4814 | |
| 4815 | def is_const_array(a): |
no outgoing calls
no test coverage detected