setup-maven-cached/node_modules/underscore/modules/_chainResult.js

7 lines
200 B
JavaScript
Raw Normal View History

2022-06-28 16:39:30 +08:00
import _ from './underscore.js';
// Helper function to continue chaining intermediate results.
export default function chainResult(instance, obj) {
return instance._chain ? _(obj).chain() : obj;
}