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