* Checks if `value` is likely a DOM element. * * @static * @memberOf _ * @since 0.1.0 * @category Lang * @param {*} value The value to check. * @returns {boolean} Returns `true` if `value` is a DOM element, else `false`. * @example * * _.isElement(do
(value)
| 11539 | * // => false |
| 11540 | */ |
| 11541 | function isElement(value) { |
| 11542 | return isObjectLike(value) && value.nodeType === 1 && !isPlainObject(value); |
| 11543 | } |
| 11544 | |
| 11545 | /** |
| 11546 | * Checks if `value` is an empty object, collection, map, or set. |
nothing calls this directly
no test coverage detected