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

Function wrap

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

Source from the content-addressed store, hash-verified

25719 }
25720 }
25721 function wrap(s, o, i) {
25722 var u,
25723 _ = a.aliasToReal[s] || s,
25724 w = o,
25725 x = Re[_]
25726 return (
25727 x
25728 ? (w = x(o))
25729 : $ &&
25730 (a.mutate.array[_]
25731 ? (w = wrapImmutable(o, cloneArray))
25732 : a.mutate.object[_]
25733 ? (w = wrapImmutable(
25734 o,
25735 (function createCloner(s) {
25736 return function (o) {
25737 return s({}, o)
25738 }
25739 })(o)
25740 ))
25741 : a.mutate.set[_] && (w = wrapImmutable(o, cloneByPath))),
25742 de(Te, function (s) {
25743 return (
25744 de(a.aryMethod[s], function (o) {
25745 if (_ == o) {
25746 var i = a.methodSpread[_],
25747 x = i && i.afterRearg
25748 return (
25749 (u = x
25750 ? castFixed(_, castRearg(_, w, s), s)
25751 : castRearg(_, castFixed(_, w, s), s)),
25752 (u = (function castCurry(s, o, i) {
25753 return z || (L && i > 1) ? pe(o, i) : o
25754 })(0, (u = castCap(_, u)), s)),
25755 !1
25756 )
25757 }
25758 }),
25759 !u
25760 )
25761 }),
25762 u || (u = w),
25763 u == o &&
25764 (u = z
25765 ? pe(u, 1)
25766 : function () {
25767 return o.apply(this, arguments)
25768 }),
25769 (u.convert = createConverter(_, o)),
25770 (u.placeholder = o.placeholder = i),
25771 u
25772 )
25773 }
25774 if (!C) return wrap(o, i, V)
25775 var $e = i,
25776 qe = []

Callers 1

Calls 9

wrapImmutableFunction · 0.85
castFixedFunction · 0.85
castReargFunction · 0.85
castCapFunction · 0.85
createConverterFunction · 0.85
xFunction · 0.70
sFunction · 0.50
deFunction · 0.50
peFunction · 0.50

Tested by

no test coverage detected