MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / isTextNode

Function isTextNode

code/higher-order-components/public/app.js:523–525  ·  view source on GitHub ↗

* @param {*} object The object to check. * @return {boolean} Whether or not the object is a DOM text node.

(object)

Source from the content-addressed store, hash-verified

521 * @return {boolean} Whether or not the object is a DOM text node.
522 */
523function isTextNode(object) {
524 return isNode(object) && object.nodeType == 3;
525}
526
527module.exports = isTextNode;
528},{"./isNode":13}],15:[function(require,module,exports){

Callers 1

containsNodeFunction · 0.70

Calls 1

isNodeFunction · 0.70

Tested by

no test coverage detected