Add node modules and compiled JavaScript from main (#54)

Co-authored-by: Oliver King <oking3@uncc.edu>
This commit is contained in:
github-actions[bot]
2022-06-29 15:41:55 -04:00
committed by GitHub
parent 4a983766a0
commit 52d71d28bd
6814 changed files with 2048539 additions and 2 deletions

19
node_modules/underscore/cjs/_baseIteratee.js generated vendored Normal file
View File

@ -0,0 +1,19 @@
var identity = require('./identity.js');
var isFunction = require('./isFunction.js');
var isObject = require('./isObject.js');
var isArray = require('./isArray.js');
var matcher = require('./matcher.js');
var property = require('./property.js');
var _optimizeCb = require('./_optimizeCb.js');
// An internal function to generate callbacks that can be applied to each
// element in a collection, returning the desired result — either `_.identity`,
// an arbitrary callback, a property matcher, or a property accessor.
function baseIteratee(value, context, argCount) {
if (value == null) return identity;
if (isFunction(value)) return _optimizeCb(value, context, argCount);
if (isObject(value) && !isArray(value)) return matcher(value);
return property(value);
}
module.exports = baseIteratee;