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

Function arrayOrEmpty

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

Source from the content-addressed store, hash-verified

56138 function idFromPathMethodLegacy(s, o) {
56139 return `${o.toLowerCase()}-${s}`
56140 }
56141 const arrayOrEmpty = (s) => (Array.isArray(s) ? s : []),
56142 findObjectOrArraySchema = (s, { recurse: o = !0, depth: i = 1 } = {}) => {
56143 if (fu(s)) {

Callers 1

execute_buildRequestFunction · 0.85

Calls 1

isArrayMethod · 0.45

Tested by

no test coverage detected