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

Function normalizeArray

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

Source from the content-addressed store, hash-verified

30994 return We().OrderedMap(s).map(fromJSOrdered)
30995 }
30996 function normalizeArray(s) {
30997 return Array.isArray(s) ? s : [s]
30998 }
30999 function isFn(s) {
31000 return 'function' == typeof s
31001 }

Callers 7

actions_showFunction · 0.85
changeModeFunction · 0.85
isShownFunction · 0.85
whatModeFunction · 0.85
sampleFromSchemaGenericFunction · 0.85
merge_mergeFunction · 0.85

Calls 1

isArrayMethod · 0.45

Tested by

no test coverage detected