node_modules/lit-analyzer/lib/index.cjs.js
/**
 * Returns if a position is within start and end.
 * @param position
 * @param start
 * @param end
 */
Returns if a position is within start and end.
Returns if a position is within start and end .
function intersects(position, _a) {
    var start = _a.start, end = _a.end;
    if (typeof position === "number") {
        return start <= position && position <= end;
    }
    else {
        return start <= position.start && position.end <= end;
    }
}
function intersects ( position , _a ) { var start = _a . start , end = _a . end ; if ( typeof position === "number" ) { return start <= position && position <= end ; } else { return start <= position . start && position . end <= end ; } }
Returns if a position is within start and end.
Returns if a position is within start and end .