0.0.6 • Published 2 years ago
@lgd-utils/collection v0.0.6
@lgd-utils/collection
A front-end collection tool
Usage
import collection from '@lgd-utils/collection';
const array = [];
collection.forEach([1, 2, 3], (v, k) => {
array.push(v + 1)
});
console.log(array); // [2, 3, 4]
Contribute
Documentation
Related
- @lgd-utils/array - A front-end array tool
- @lgd-utils/axios - A axios adapter and middleware tool
- @lgd-utils/cached-storage - 一个具有失效功能的缓存存储库
- @lgd-utils/error - A front-end error tool
- @lgd-utils/html - A front-end html tool
- @lgd-utils/number - A front-end number tool
- @lgd-utils/object - A front-end object tool
- @lgd-utils/regexp - A front-end regexp tool
- @lgd-utils/symbol - A front-end symbol tool
- @lgd-utils/utils - A front-end utils tool
- @lgd-utils/validate - A front-end verification tool
- More…