📄 _chainResult.js
/home/palash/git/site/node_modules/underscore/amd/_chainResult.js
Language: js • Lines: 10
define(['./underscore'], function (underscore) {

  // Helper function to continue chaining intermediate results.
  function chainResult(instance, obj) {
    return instance._chain ? underscore(obj).chain() : obj;
  }

  return chainResult;

});