-
ESM Exports
ESM Exports
import { map } from 'underscore';
The difference with
./index-default, which is the package entry point for
CommonJS, AMD and UMD users, is purely technical. In ES modules, named and
def...
-
underscore.js
underscore.js
_.mixin. Wrapped objects may be chained.
export default function _(obj) {
if (obj instanceof _) return obj;
if (!(this instanceof _)) return new _(obj);
this._wrapped = obj;
}
_.V...
-
Named Exports
Named Exports
A group of functions that check the types of core JavaScript values.
These are often informally referred to as the “isType” functions.
export { default as isObject } from './isObject.js'...
-
isEqual.js
isEqual.js
import _ from './underscore.js';
import { toString, SymbolProto } from './_setup.js';
import getByteLength from './_getByteLength.js';
import isTypedArray from './isTypedArray.js';
import i...
-
min.js
min.js
Return the minimum element (or element-based computation).
export default function min(obj, iteratee, context) {
var result = Infinity, lastComputed = Infinity,
value, computed;
if (i...
-
range.js
range.js
export default function range(start, stop, step) {
if (stop == null) {
stop = start || 0;
start = 0;
}
if (!step) {
step = stop < start ? -1 : 1;
}
var length = Math.ma...