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

var isHTMLAnchorElement_1;
var hasRequiredIsHTMLAnchorElement;

function requireIsHTMLAnchorElement () {
	if (hasRequiredIsHTMLAnchorElement) return isHTMLAnchorElement_1;
	hasRequiredIsHTMLAnchorElement = 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 isHTMLAnchorElement(node) {
	  if (!node || !node.ownerDocument) {
	    return false;
	  }

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

	isHTMLAnchorElement_1 = isHTMLAnchorElement;
	return isHTMLAnchorElement_1;
}

export { requireIsHTMLAnchorElement as __require };
//# sourceMappingURL=isHTMLAnchorElement.js.map
