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

Function isTextInputElement

docs/lib/react.js:17272–17275  ·  view source on GitHub ↗
(elem)

Source from the content-addressed store, hash-verified

17270};
17271
17272function isTextInputElement(elem) {
17273 var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();
17274 return nodeName && (nodeName === 'input' && supportedInputTypes[elem.type] || nodeName === 'textarea');
17275}
17276
17277module.exports = isTextInputElement;
17278},{}],133:[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…