src/dig/digraph.js
function _shallowEqual(lhs, rhs) {
    var lhsKeys = Object.keys(lhs);
    var rhsKeys = Object.keys(rhs);
    if (lhsKeys.length !== rhsKeys.length) {
      return false;
    }
    for (var k in lhs) {
      if (lhs[k] !== rhs[k]) {
        return false;
      }
    }
    return true;
  }
function _shallowEqual(lhs, rhs) {
    var lhsKeys = Object.keys(lhs);
    var rhsKeys = Object.keys(rhs);
    if (lhsKeys.length !== rhsKeys.length) {
      return false;
    }
    for (var k in lhs) {
      if (lhs[k] !== rhs[k]) {
        return false;
      }
    }
    return true;
  }
function _shallowEqual ( lhs , rhs ) { var lhsKeys = Object . keys ( lhs ) ; var rhsKeys = Object . keys ( rhs ) ; if ( lhsKeys . length !== rhsKeys . length ) { return false ; } for ( var k in lhs ) { if ( lhs [ k ] !== rhs [ k ] ) { return false ; } } return true ; }
Checks for equality of all keys and values on the two objects.
Checks for equality of all keys and values on the two objects .