MCPcopy
hub / github.com/heroku/react-refetch / checkTypes

Function checkTypes

src/utils/checkTypes.js:93–99  ·  view source on GitHub ↗
(mapping)

Source from the content-addressed store, hash-verified

91}
92
93export default function checkTypes(mapping) {
94 Object.keys(mapping).forEach(key => {
95 if (checks[key]) {
96 checks[key](mapping[key])
97 }
98 })
99}

Callers 3

connectFactoryFunction · 0.85
connectFunction · 0.85
coerceMappingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…