Collect.js is the JavaScript library for collecting data from tree-based structures. It is a fluent and convenient wrapper for working with arrays and objects. It provides us with different functions that help in working with data much easier. It also helps the programmers to write more concise code and easier to maintain the JavaScript code.
Methods:
- Collect.js all() Method
- Collect.js average() Method
- Collect.js avg() Method
- Collect.js chunk() Method
- Collect.js collapse() Method
- Collect.js combine() Method
- Collect.js concat() Method
- Collect.js contains() Method
- Collect.js count() Method
- Collect.js countBy() Method
- Collect.js crossJoin() Method
- Collect.js dd() Method
- Collect.js diff() Method
- Collect.js diffAssoc() Method
- Collect.js diffKeys() Method
- Collect.js dump() Method
- Collect.js duplicates() Method
- Collect.js each() Method
- Collect.js eachSpread() Method
- Collect.js every() Method
- Collect.js except() Method
- Collect.js filter() Method
- Collect.js first() Method
- Collect.js firstWhere() Method
- Collect.js flatMap() Method
- Collect.js flatten() Method
- Collect.js flip() Method
- Collect.js forPage() Method
- Collect.js forget() Method
- Collect.js get() Method
- Collect.js groupBy() Method
- Collect.js has() Method
- Collect.js implode() Method
- Collect.js intersect() Method
- Collect.js intersectByKeys() Method
- Collect.js isEmpty() Method
- Collect.js isNotEmpty() Method
- Collect.js join() Method
- Collect.js keyBy() Method
- Collect.js keys() Method
- Collect.js last() Method
- Collect.js macro() Method
- Collect.js make() Method
- Collect.js map() Method
- Collect.js mapInto() Method
- Collect.js mapSpread() Method
- Collect.js mapToDictionary() Method
- Collect.js mapToGroups() Method
- Collect.js mapWithKeys() Method
- Collect.js max() Method
- Collect.js median() Method
- Collect.js merge() Method
- Collect.js mergeRecursive() Method
- Collect.js min() Method
- Collect.js mode() Method
- Collect.js nth() Method
- Collect.js only() Method
- Collect.js pad() Method
- Collect.js partition() Method
- Collect.js pipe() Method
- Collect.js pluck() Method
- Collect.js pop() Method
- Collect.js prepend() Method
- Collect.js pull() Method
- Collect.js push() Method
- Collect.js put() Method
- Collect.js random() Method
- Collect.js reduce() Method
- Collect.js reject() Method
- Collect.js replace() Method
- Collect.js replaceRecursive() Method
- Collect.js reverse() Method
- Collect.js search() Method
- Collect.js shift() Method
- Collect.js shuffle() Method
- Collect.js skip() Method
- Collect.js skipUntil() Method
- Collect.js skipWhile() Method
- Collect.js slice() Method
- Collect.js some() Method
- Collect.js sort() Method
- Collect.js sortBy() Method
- Collect.js sortByDesc() Method
- Collect.js sortDesc() Method
- Collect.js sortKeys() Method
- Collect.js sortKeysDesc() Method
- Collect.js splice() Method
- Collect.js split() Method
- Collect.js sum() Method
- Collect.js take() Method
- Collect.js takeUntil() Method
- Collect.js takeWhile() Method
- Collect.js tap() Method
- Collect.js times() Method
- Collect.js toArray() Method
- Collect.js toJson() Method
- Collect.js transform() Method
- Collect.js union() Method
- Collect.js unique() Method
- Collect.js unless() Method
- Collect.js unlessEmpty() Method
- Collect.js unlessNotEmpty() Method
- Collect.js unwrap() Method
- Collect.js values() Method
- Collect.js when() Method
- Collect.js whenEmpty() Method
- Collect.js whenNotEmpty() Method
- Collect.js where() Method
- Collect.js whereBetween()
- Collect.js whereIn() Method
- Collect.js whereInstanceOf() Method
- Collect.js whereNotBetween() Method
- Collect.js whereNotIn() Method
- Collect.js whereNotNull() Method
- Collect.js whereNull() Method
- Collect.js wrap() Method
- Collect.js zip() Method