lib/utils.js
function hasIndexChanged(index, prevIndex) {
  if (typeof index !== 'string' || !index) return false;
  if (typeof prevIndex !== 'string' || !prevIndex) return true;
  return index !== prevIndex;
}
function hasIndexChanged(index, prevIndex) {
  if (typeof index !== 'string' || !index) return false;
  if (typeof prevIndex !== 'string' || !prevIndex) return true;
  return index !== prevIndex;
}
function hasIndexChanged ( index , prevIndex ) { if ( typeof index !== 'string' || ! index ) return false ; if ( typeof prevIndex !== 'string' || ! prevIndex ) return true ; return index !== prevIndex ; }
Has the Consul index changed.
Has the Consul index changed .