index.js
function rangeIntersectsNode(range, node) {
  if (range.intersectsNode) {
    return range.intersectsNode(node)
  } else {
    return rangesIntersect(range, createRangeFromNode(node))
  }
}
function rangeIntersectsNode(range, node) {
  if (range.intersectsNode) {
    return range.intersectsNode(node)
  } else {
    return rangesIntersect(range, createRangeFromNode(node))
  }
}
function rangeIntersectsNode ( range , node ) { if ( range . intersectsNode ) { return range . intersectsNode ( node ) } else { return rangesIntersect ( range , createRangeFromNode ( node ) ) } }
return true if `node` is fully or partially selected by `range`
return true if node is fully or partially selected by range