(self)
| 1069 | return False |
| 1070 | |
| 1071 | def depth(self) -> int: |
| 1072 | item_type = self.item_type |
| 1073 | if isinstance(item_type, RUnion): |
| 1074 | value_type = optional_value_type(item_type) |
| 1075 | assert value_type is not None |
| 1076 | item_type = value_type |
| 1077 | if isinstance(item_type, RVec): |
| 1078 | return 1 + item_type.depth() |
| 1079 | return 0 |
| 1080 | |
| 1081 | def field_type(self, name: str) -> RType: |
| 1082 | if name == "len": |
no test coverage detected