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

Function fromJSWith

frontend/public/swagger-ui-bundle.js:1760–1778  ·  view source on GitHub ↗
(s, o, i, a)

Source from the content-addressed store, hash-verified

1758 return o ? fromJSWith(o, s, '', { '': s }) : fromJSDefault(s)
1759 }
1760 function fromJSWith(s, o, i, a) {
1761 return Array.isArray(o)
1762 ? s.call(
1763 a,
1764 i,
1765 IndexedSeq(o).map(function (i, a) {
1766 return fromJSWith(s, i, a, o)
1767 })
1768 )
1769 : isPlainObj(o)
1770 ? s.call(
1771 a,
1772 i,
1773 KeyedSeq(o).map(function (i, a) {
1774 return fromJSWith(s, i, a, o)
1775 })
1776 )
1777 : o
1778 }
1779 function fromJSDefault(s) {
1780 return Array.isArray(s)
1781 ? IndexedSeq(s).map(fromJSDefault).toList()

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