Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/plotly/dash
/ isArray
Function
isArray
dash/extract-meta.js:79–79 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
77
const
reArray =
new
RegExp(`(${unionSupport.join(
'|'
)}|\\(.+\\)|[A-Z][a-zA-Z]*Value)\\[\\]`);
78
79
const
isArray = rawType => reArray.test(rawType);
80
81
const
isUnionLiteral = typeObj =>
82
typeObj.types.every(
Callers
1
getUnion
Function · 0.70
Calls
1
test
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…