MCPcopy Create free account
hub / github.com/reactjs/react-rails / isContextProvider

Function isContextProvider

lib/assets/react-source/development/react.js:14455–14460  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

14453 }
14454
14455 function isContextProvider(type) {
14456 {
14457 var childContextTypes = type.childContextTypes;
14458 return childContextTypes !== null && childContextTypes !== undefined;
14459 }
14460 }
14461
14462 function popContext(fiber) {
14463 {

Callers 9

getUnmaskedContextFunction · 0.70
updateClassComponentFunction · 0.70
beginWorkFunction · 0.70
completeWorkFunction · 0.70
unwindWorkFunction · 0.70
getContextForSubtreeFunction · 0.70

Calls 1

typeOfFunction · 0.70

Tested by

no test coverage detected