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

Function isTextNode

code/communication/public/app.js:564–566  ·  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

562 * @return {boolean} Whether or not the object is a DOM text node.
563 */
564function isTextNode(object) {
565 return isNode(object) && object.nodeType == 3;
566}
567
568module.exports = isTextNode;
569},{"./isNode":12}],14:[function(require,module,exports){

Callers 1

containsNodeFunction · 0.70

Calls 1

isNodeFunction · 0.70

Tested by

no test coverage detected