MCPcopy Index your code
hub / github.com/heroku/react-refetch / andCatch

Function andCatch

src/utils/checkTypes.js:88–90  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

86 },
87
88 andCatch(fn) {
89 typecheck([ 'function', 'undefined' ], 'andCatch', fn)
90 }
91}
92
93export default function checkTypes(mapping) {

Callers

nothing calls this directly

Calls 1

typecheckFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…