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

Function getDependencies

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

Source from the content-addressed store, hash-verified

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 (
31909 (function assertIsArrayOfFunctions(
31910 s,
31911 o = 'expected all items to be functions, instead received the following types: '
31912 ) {
31913 if (!s.every((s) => 'function' == typeof s)) {
31914 const i = s
31915 .map((s) =>
31916 'function' == typeof s ? `function ${s.name || 'unnamed'}()` : typeof s
31917 )
31918 .join(', ')
31919 throw new TypeError(`${o}[${i}]`)
31920 }
31921 })(
31922 o,
31923 'createSelector expects all input-selectors to be functions, but received the following types: '
31924 ),
31925 o
31926 )
31927 }
31928 ;(Symbol(), Object.getPrototypeOf({}))
31929 var qt =
31930 'undefined' != typeof WeakRef

Callers 1

createSelector2Function · 0.85

Calls 2

isArrayMethod · 0.45
mapMethod · 0.45

Tested by

no test coverage detected