Files
k8s-set-context/node_modules/underscore/cjs/_cb.js
github-actions[bot] 52d71d28bd Add node modules and compiled JavaScript from main (#54)
Co-authored-by: Oliver King <oking3@uncc.edu>
2022-06-29 15:41:55 -04:00

13 lines
463 B
JavaScript

var underscore = require('./underscore.js');
var _baseIteratee = require('./_baseIteratee.js');
var iteratee = require('./iteratee.js');
// The function we call internally to generate a callback. It invokes
// `_.iteratee` if overridden, otherwise `baseIteratee`.
function cb(value, context, argCount) {
if (underscore.iteratee !== iteratee) return underscore.iteratee(value, context);
return _baseIteratee(value, context, argCount);
}
module.exports = cb;