import { __require as requireIsElement } from './isElement.js';

var isHTMLImageElement_1;
var hasRequiredIsHTMLImageElement;

function requireIsHTMLImageElement () {
	if (hasRequiredIsHTMLImageElement) return isHTMLImageElement_1;
	hasRequiredIsHTMLImageElement = 1;

	/**
	 * Copyright (c) Facebook, Inc. and its affiliates.
	 *
	 * This source code is licensed under the MIT license found in the
	 * LICENSE file in the root directory of this source tree.
	 *
	 * @format
	 * 
	 * @emails oncall+draft_js
	 */
	var isElement = requireIsElement();

	function isHTMLImageElement(node) {
	  if (!node || !node.ownerDocument) {
	    return false;
	  }

	  return isElement(node) && node.nodeName === 'IMG';
	}

	isHTMLImageElement_1 = isHTMLImageElement;
	return isHTMLImageElement_1;
}

export { requireIsHTMLImageElement as __require };
//# sourceMappingURL=isHTMLImageElement.js.map
