* @param {*} object The object to check. * @return {boolean} Whether or not the object is a DOM text node.
(object)
| 5360 | * @return {boolean} Whether or not the object is a DOM text node. |
| 5361 | */ |
| 5362 | function isTextNode(object) { |
| 5363 | return isNode(object) && object.nodeType == 3; |
| 5364 | } |
| 5365 | |
| 5366 | module.exports = isTextNode; |
| 5367 |
no test coverage detected