lib/subtract.js
function isEqualRange(range1, range2) {
    return range1.from === range2.from && range1.to === range2.to;
}
function isEqualRange(range1, range2) {
    return range1.from === range2.from && range1.to === range2.to;
}
function isEqualRange ( range1 , range2 ) { return range1 . from === range2 . from && range1 . to === range2 . to ; }
Returns `true` if ranges are equal.

@param {{from: number, to: number}} range1 — the range to check.
@param {{from: number, to: number}} range2 — the range to check.

@returns {Boolean}
Returns true if ranges are equal .