MCPcopy Index your code
hub / github.com/plotly/plotly.py / is_num_list

Function is_num_list

tests/utils.py:90–97  ·  view source on GitHub ↗
(item)

Source from the content-addressed store, hash-verified

88
89
90def is_num_list(item):
91 try:
92 for thing in item:
93 if not isinstance(thing, Num):
94 raise TypeError
95 except TypeError:
96 return False
97 return True

Callers 2

compare_dictFunction · 0.85
assert_dict_equalMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected