MCPcopy Create free account
hub / github.com/ccagml/leetcode-extension / getList

Method getList

resources/debug/entry/python3/entry.py:188–195  ·  view source on GitHub ↗

@return the nested list that this NestedInteger holds, if it holds a nested list Return None if this NestedInteger holds a single integer

(self)

Source from the content-addressed store, hash-verified

186 return self.ni
187
188 def getList(self):
189 """
190 @return the nested list that this NestedInteger holds, if it holds a nested list
191 Return None if this NestedInteger holds a single integer
192 """
193 if (isList(self.ni)):
194 return self.nested
195 return None
196
197
198def parseNestedIntegerArray(param):

Callers

nothing calls this directly

Calls 1

isListFunction · 0.85

Tested by

no test coverage detected