src/modules/inactive/commands/aryeh_implementation.js
function isAncestor(ancestor, descendant) {
	return ancestor
		&& descendant
		&& Boolean(ancestor.compareDocumentPosition(descendant) & Node.DOCUMENT_POSITION_CONTAINED_BY);
}
function isAncestor(ancestor, descendant) {
	return ancestor
		&& descendant
		&& Boolean(ancestor.compareDocumentPosition(descendant) & Node.DOCUMENT_POSITION_CONTAINED_BY);
}
function isAncestor ( ancestor , descendant ) { return ancestor && descendant && Boolean ( ancestor . compareDocumentPosition ( descendant ) & Node . DOCUMENT_POSITION_CONTAINED_BY ) ; }
Returns true if ancestor is an ancestor of descendant, false otherwise.
Returns true if ancestor is an ancestor of descendant false otherwise .