MCPcopy Create free account
hub / github.com/Lobos/react-ui / keyOf

Function keyOf

docs/lib/react.js:19024–19033  ·  view source on GitHub ↗
(oneKeyObj)

Source from the content-addressed store, hash-verified

19022 * reuse those resolutions.
19023 */
19024var keyOf = function (oneKeyObj) {
19025 var key;
19026 for (key in oneKeyObj) {
19027 if (!oneKeyObj.hasOwnProperty(key)) {
19028 continue;
19029 }
19030 return key;
19031 }
19032 return null;
19033};
19034
19035module.exports = keyOf;
19036},{}],161:[function(_dereq_,module,exports){

Callers 1

react.jsFile · 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…