MCPcopy Index your code
hub / github.com/plotly/plotly.js / hasTypeNumber

Function hasTypeNumber

src/plots/cartesian/axis_autotype.js:40–42  ·  view source on GitHub ↗
(v, convertNumeric)

Source from the content-addressed store, hash-verified

38};
39
40function hasTypeNumber(v, convertNumeric) {
41 return convertNumeric ? isNumeric(v) : typeof v === 'number';
42}
43
44// is there at least one number in array? If not, we should leave
45// ax.type empty so it can be autoset later

Callers 1

linearOKFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…