"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const isDOMNode_1 = __importDefault(require("./isDOMNode")); /** * Is the given object a DOM document node * * @param obj - The object to check * @return Is it a DOM document node or not */ function isDocument(obj) { return isDOMNode_1.default(obj) && obj.nodeType === Node.DOCUMENT_NODE; } exports.default = isDocument;