index.js
function isOrdered(tupleA, tupleB) {
  return (tupleA.line < tupleB.line) || ((tupleA.line === tupleB.line) && (tupleA.column < tupleB.column));
}
function isOrdered(tupleA, tupleB) {
  return (tupleA.line < tupleB.line) || ((tupleA.line === tupleB.line) && (tupleA.column < tupleB.column));
}
function isOrdered ( tupleA , tupleB ) { return ( tupleA . line < tupleB . line ) || ( ( tupleA . line === tupleB . line ) && ( tupleA . column < tupleB . column ) ) ; }
Check the order of the given location tuples.
@param {{line:number, column:number}} tupleA The first tuple
@param {{line:number, column:number}} tupleB The second tuple
@returns {boolean} True where tupleA precedes tupleB
Check the order of the given location tuples .