src/Morearty.js
function (binding, subpath, compare) {
      var args = Util.resolveArgs(
        arguments,
        'binding', function (x) { return Util.canRepresentSubpath(x) ? 'subpath' : null; }, '?compare'
      );

      return args.binding.sub(args.subpath).isChanged(this._previousState, args.compare || Imm.is);
    }
function (binding, subpath, compare) {
      var args = Util.resolveArgs(
        arguments,
        'binding', function (x) { return Util.canRepresentSubpath(x) ? 'subpath' : null; }, '?compare'
      );

      return args.binding.sub(args.subpath).isChanged(this._previousState, args.compare || Imm.is);
    }
function ( binding , subpath , compare ) { var args = Util . resolveArgs ( arguments , 'binding' , function ( x ) { return Util . canRepresentSubpath ( x ) ? 'subpath' : null ; } , '?compare' ) ; return args . binding . sub ( args . subpath ) . isChanged ( this . _previousState , args . compare || Imm . is ) ; }
Check if binding value was changed on last re-render.
@param {Binding} binding binding
@param {String|Array} [subpath] subpath as a dot-separated string or an array of strings and numbers
@param {Function} [compare] compare function, '===' for primitives / Immutable.is for collections by default
Check if binding value was changed on last re - render .