(self, ni)
| 161 | |
| 162 | class NestedInteger: |
| 163 | def __init__(self, ni): |
| 164 | nested = [] |
| 165 | if (isList(ni)): |
| 166 | for i, val in enumerate(ni): |
| 167 | nested.append(NestedInteger(val)) |
| 168 | self.nested = nested |
| 169 | self.ni = ni |
| 170 | |
| 171 | def isInteger(self) -> bool: |
| 172 | """ |
nothing calls this directly
no test coverage detected