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

Function parseNumberArray

resources/debug/entry/python3/entry.py:60–67  ·  view source on GitHub ↗
(param)

Source from the content-addressed store, hash-verified

58
59
60def parseNumberArray(param):
61 if (not isList(param)):
62 onParameterError()
63
64 for i in param:
65 if (not isNumber(i)):
66 onParameterError()
67 return param
68
69
70def parseNumberArrayArray(param):

Callers 2

parseNumberArrayArrayFunction · 0.70
parseParameterFunction · 0.70

Calls 3

isListFunction · 0.85
onParameterErrorFunction · 0.70
isNumberFunction · 0.70

Tested by

no test coverage detected