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

Function wrapMapToPropsFunc

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

Source from the content-addressed store, hash-verified

56669 function getDependsOnOwnProps(s) {
56670 return s.dependsOnOwnProps ? Boolean(s.dependsOnOwnProps) : 1 !== s.length
56671 }
56672 function wrapMapToPropsFunc(s, o) {
56673 return function initProxySelector(o, { displayName: i }) {
56674 const a = function mapToPropsProxy(s, o) {
56675 return a.dependsOnOwnProps ? a.mapToProps(s, o) : a.mapToProps(s, void 0)
56676 }
56677 return (
56678 (a.dependsOnOwnProps = !0),
56679 (a.mapToProps = function detectFactoryAndVerify(o, i) {
56680 ;((a.mapToProps = s), (a.dependsOnOwnProps = getDependsOnOwnProps(s)))
56681 let u = a(o, i)
56682 return (
56683 'function' == typeof u &&
56684 ((a.mapToProps = u),
56685 (a.dependsOnOwnProps = getDependsOnOwnProps(u)),
56686 (u = a(o, i))),
56687 u
56688 )
56689 }),
56690 a
56691 )
56692 }
56693 }
56694 function createInvalidArgFactory(s, o) {
56695 return (i, a) => {

Callers 1

dOFunction · 0.85

Calls 2

getDependsOnOwnPropsFunction · 0.85
aFunction · 0.70

Tested by

no test coverage detected