UNPKG

xe-utils

Version:

JavaScript 函数库、工具类

42 lines (40 loc) • 2.19 kB
import map from './map.js';import some from './some.js';import every from './every.js';import includeArrays from './includeArrays.js';import arrayEach from './arrayEach.js';import lastArrayEach from './lastArrayEach.js';import uniq from './uniq.js';import union from './union.js';import toArray from './toArray.js';import sortBy from './sortBy.js';import orderBy from './orderBy.js';import shuffle from './shuffle.js';import sample from './sample.js';import slice from './slice.js';import filter from './filter.js';import findKey from './findKey.js';import includes from './includes.js';import find from './find.js';import findLast from './findLast.js';import reduce from './reduce.js';import copyWithin from './copyWithin.js';import chunk from './chunk.js';import zip from './zip.js';import unzip from './unzip.js';import zipObject from './zipObject.js';import flatten from './flatten.js';import pluck from './pluck.js';import invoke from './invoke.js';import toArrayTree from './toArrayTree.js';import toTreeArray from './toTreeArray.js';import findTree from './findTree.js';import eachTree from './eachTree.js';import mapTree from './mapTree.js';import filterTree from './filterTree.js';import searchTree from './searchTree.js';import arrayIndexOf from './arrayIndexOf.js';import arrayLastIndexOf from './arrayLastIndexOf.js';var arrayExports = { uniq: uniq, union: union, sortBy: sortBy, orderBy: orderBy, shuffle: shuffle, sample: sample, some: some, every: every, slice: slice, filter: filter, find: find, findLast: findLast, findKey: findKey, includes: includes, arrayIndexOf: arrayIndexOf, arrayLastIndexOf: arrayLastIndexOf, map: map, reduce: reduce, copyWithin: copyWithin, chunk: chunk, zip: zip, unzip: unzip, zipObject: zipObject, flatten: flatten, toArray: toArray, includeArrays: includeArrays, pluck: pluck, invoke: invoke, arrayEach: arrayEach, lastArrayEach: lastArrayEach, toArrayTree: toArrayTree, toTreeArray: toTreeArray, findTree: findTree, eachTree: eachTree, mapTree: mapTree, filterTree: filterTree, searchTree: searchTree } export default arrayExports