mirror of
https://github.com/Azure/k8s-set-context.git
synced 2026-03-12 02:22:16 +08:00
9 lines
237 B
JavaScript
9 lines
237 B
JavaScript
var underscore = require('./underscore.js');
|
|
|
|
// Helper function to continue chaining intermediate results.
|
|
function chainResult(instance, obj) {
|
|
return instance._chain ? underscore(obj).chain() : obj;
|
|
}
|
|
|
|
module.exports = chainResult;
|