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

Function valueOrEmptyList

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

Source from the content-addressed store, hash-verified

37098 )
37099 }
37100 }
37101 function valueOrEmptyList(s) {
37102 return ze.List.isList(s) ? s : Array.isArray(s) ? (0, ze.fromJS)(s) : (0, ze.List)()
37103 }
37104 const ModelExtensions = ({ extensions: s, propClass: o = '' }) =>
37105 s

Callers 3

constructorMethod · 0.85
JsonSchema_arrayClass · 0.85

Calls 1

isArrayMethod · 0.45

Tested by

no test coverage detected