** * // This is the interface that allows for creating nested lists. * // You should not implement it, or speculate about its implementation * type NestedInteger struct { * } * * // Return true if this NestedInteger holds a single integer, rather than a nested list. * func (this NestedInteger
| 27 | */ |
| 28 | |
| 29 | type NestedInteger struct { |
| 30 | value any |
| 31 | isInt bool |
| 32 | } |
| 33 | |
| 34 | func NewNestedInteger(value any) *NestedInteger { |
| 35 | var isInt bool |
nothing calls this directly
no outgoing calls
no test coverage detected