Rocky_Mountain_Vending/.pnpm-store/v10/files/5b/a14d07f1ee7b367f0f8fdce05f3994a8b350ecd014efca80318a298e4bf2dfdc60892659df68ee0f8ea2d70c2ede64fdd3f8745586e9702bf934606e662f82
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

25 lines
572 B
Text

import isObjectLike from './isObjectLike.js';
import isPlainObject from './isPlainObject.js';
/**
* 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(document.body);
* // => true
*
* _.isElement('<body>');
* // => false
*/
function isElement(value) {
return isObjectLike(value) && value.nodeType === 1 && !isPlainObject(value);
}
export default isElement;