MCPcopy Index your code
hub / github.com/dataease/SQLBot / ensureIsArray

Function ensureIsArray

frontend/public/swagger-ui-bundle.js:31905–31905  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

31903 if ('function' != typeof s) throw new TypeError(o)
31904 }
31905 var ensureIsArray = (s) => (Array.isArray(s) ? s : [s])
31906 function getDependencies(s) {
31907 const o = Array.isArray(s[0]) ? s[0] : s
31908 return (

Callers 1

createSelector2Function · 0.85

Calls 1

isArrayMethod · 0.45

Tested by

no test coverage detected