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

Function is_array

_plotly_utils/basevalidators.py:222–226  ·  view source on GitHub ↗

Return whether a value is considered to be an array

(v)

Source from the content-addressed store, hash-verified

220
221
222def is_array(v):
223 """
224 Return whether a value is considered to be an array
225 """
226 return is_simple_array(v) or is_homogeneous_array(v)
227
228
229def type_str(v):

Callers 9

walk_push_to_templateFunction · 0.90
validate_coerceMethod · 0.85
validate_coerceMethod · 0.85
find_invalid_elsMethod · 0.85
validate_coerceMethod · 0.85
validate_coerceMethod · 0.85
validate_coerceMethod · 0.85
validate_coerceMethod · 0.85
presentMethod · 0.85

Calls 2

is_simple_arrayFunction · 0.85
is_homogeneous_arrayFunction · 0.85

Tested by

no test coverage detected