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

Function fromJSDefault

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

Source from the content-addressed store, hash-verified

1777 : o
1778 }
1779 function fromJSDefault(s) {
1780 return Array.isArray(s)
1781 ? IndexedSeq(s).map(fromJSDefault).toList()
1782 : isPlainObj(s)
1783 ? KeyedSeq(s).map(fromJSDefault).toMap()
1784 : s
1785 }
1786 function isPlainObj(s) {
1787 return s && (s.constructor === Object || void 0 === s.constructor)
1788 }

Callers 1

fromJSFunction · 0.85

Calls 5

IndexedSeqFunction · 0.85
isPlainObjFunction · 0.85
KeyedSeqFunction · 0.85
isArrayMethod · 0.45
mapMethod · 0.45

Tested by

no test coverage detected