MCPcopy Create free account
hub / github.com/jhen0409/react-native-debugger / composeWithDevTools

Function composeWithDevTools

app/worker/reduxAPI.js:365–373  ·  view source on GitHub ↗
(...funcs)

Source from the content-addressed store, hash-verified

363}
364
365export function composeWithDevTools(...funcs) {
366 if (funcs.length === 0) {
367 return devToolsEnhancer()
368 }
369 if (funcs.length === 1 && typeof funcs[0] === 'object') {
370 return compose(funcs[0])
371 }
372 return compose({})(...funcs)
373}

Callers

nothing calls this directly

Calls 2

devToolsEnhancerFunction · 0.85
composeFunction · 0.85

Tested by

no test coverage detected