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

Function has

lib/assets/react-source/development/react.js:6486–6488  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

6484 return key._reactInternalFiber;
6485 }
6486 function has(key) {
6487 return key._reactInternalFiber !== undefined;
6488 }
6489 function set(key, value) {
6490 key._reactInternalFiber = value;
6491 }

Callers 5

checkPropTypesFunction · 0.85
validateFunction · 0.85
checkPropTypesFunction · 0.85
validateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected