_chainResult.js 237 B

12345678
  1. var underscore = require('./underscore.js');
  2. // Helper function to continue chaining intermediate results.
  3. function chainResult(instance, obj) {
  4. return instance._chain ? underscore(obj).chain() : obj;
  5. }
  6. module.exports = chainResult;