# arrayutils

## arrayutils

- [Home](https://arrayutils.docs.present.kim/master.md)
- [How to use?](https://arrayutils.docs.present.kim/how-to-use.md)
- [⚡Installation](https://arrayutils.docs.present.kim/how-to-use/installation.md)
- [📖Methods](https://arrayutils.docs.present.kim/methods.md)
- [⚡Static method](https://arrayutils.docs.present.kim/methods/s.md): The static-method is a static method without polymorphism.
- [static from()](https://arrayutils.docs.present.kim/methods/s/from.md): The from() static method creates a new, shallow-copied ArrayUtils instance from an iterable.
- [static of()](https://arrayutils.docs.present.kim/methods/s/of.md): The of() static method creates a new, ArrayUtils instance from variadic function arguments
- [static mapToArray()](https://arrayutils.docs.present.kim/methods/s/maptoarray.md): The mapToArray() static method cast all elements of the iterable to an array
- [⚡Generic method](https://arrayutils.docs.present.kim/methods/g.md): The generic-methods is a member methods that do not return ArrayUtils.
- [join()](https://arrayutils.docs.present.kim/methods/g/join.md): The join() method join array elements with a string
- [every()](https://arrayutils.docs.present.kim/methods/g/every.md): The every() method tests whether all elements pass the function
- [some()](https://arrayutils.docs.present.kim/methods/g/some.md): The some() method tests whether least one element pass the function
- [reduce()](https://arrayutils.docs.present.kim/methods/g/reduce.md): The reduce() method iteratively reduce the array to a single value using a callback function
- [reduceRight()](https://arrayutils.docs.present.kim/methods/g/reduce/right.md): The reduceRight() method all similar to reduce(), but It works in reverse order.
- [sum()](https://arrayutils.docs.present.kim/methods/g/sum.md): The sum() method calculate the sum of values in an array
- [pop()](https://arrayutils.docs.present.kim/methods/g/pop.md): The pop() method removes the last element and returns that element
- [shift()](https://arrayutils.docs.present.kim/methods/g/shift.md): The shift() method removes the first element and returns that element
- [includes()](https://arrayutils.docs.present.kim/methods/g/includes.md): The includes() method tests whether an array includes a certain value among its entries
- [keyExists()](https://arrayutils.docs.present.kim/methods/g/key-exists.md): The keyExists() method tests whether the requested index exists.
- [indexOf()](https://arrayutils.docs.present.kim/methods/g/index-of.md): The indexOf() method get first index at which a given element can be found in the array
- [find()](https://arrayutils.docs.present.kim/methods/g/find.md): The find() method find the value of the first element that pass function.
- [findIndex()](https://arrayutils.docs.present.kim/methods/g/find/index.md): The findIndex() method all similar to find(), but return index
- [first()](https://arrayutils.docs.present.kim/methods/g/first.md): The first() method returns first value
- [keyFirst()](https://arrayutils.docs.present.kim/methods/g/first/key.md): The keyFirst() method returns first key
- [last()](https://arrayutils.docs.present.kim/methods/g/last.md): The last() method returns last value
- [keyLast()](https://arrayutils.docs.present.kim/methods/g/last/key.md): The keyLast() method returns last key
- [random()](https://arrayutils.docs.present.kim/methods/g/random.md): The random() method returns random value
- [keyRandom()](https://arrayutils.docs.present.kim/methods/g/random/key.md): The keyRandom() method returns random key
- [splice()](https://arrayutils.docs.present.kim/methods/g/splice.md): The splice() method remove a portion of the array and replace it with something else
- [⚡Chain method](https://arrayutils.docs.present.kim/methods/c.md): The chaining-methods is member methods that returns an ArrayUtils instance.
- [chunk()](https://arrayutils.docs.present.kim/methods/c/chunk.md): The chunk() method split an array into chunks
- [column()](https://arrayutils.docs.present.kim/methods/c/column.md): The column() method returns the values from a single column in the input array
- [combine()](https://arrayutils.docs.present.kim/methods/c/combine.md): The combine() method returns new array by using one array for keys and another for values
- [concat()](https://arrayutils.docs.present.kim/methods/c/concat.md): The concat() method merge one or more arrays
- [concatSoft()](https://arrayutils.docs.present.kim/methods/c/concat/soft.md): The concatSoft() method all similar to concat(), but not overwrite existing keys
- [countValues()](https://arrayutils.docs.present.kim/methods/c/count-values.md): The countValues() method counts all the values of an array
- [diff()](https://arrayutils.docs.present.kim/methods/c/diff.md): The diff() method compares with other arrays and returns the values that are not in any of the other arrays
- [diffAssoc()](https://arrayutils.docs.present.kim/methods/c/diff/assoc.md): The diffAssoc() method all similar to diff(), but this applies with additional index check
- [diffKey()](https://arrayutils.docs.present.kim/methods/c/diff/key.md): The diffAssoc() method all similar to diff(), but this applies to keys
- [fill()](https://arrayutils.docs.present.kim/methods/c/fill.md): The fill() method changes all values to a static value, from a start index to an end index
- [fillKeys()](https://arrayutils.docs.present.kim/methods/c/fill/keys.md): The fillKeys() method fills an array with the static value, using the values of the array as keys.
- [filter()](https://arrayutils.docs.present.kim/methods/c/filter.md): The filter() method creates a new array with all elements that pass the function.
- [flat()](https://arrayutils.docs.present.kim/methods/c/flat.md): The flat() method creates a new array with all sub-array elements concatenated into it recursively up to the specified depth.
- [flatMap()](https://arrayutils.docs.present.kim/methods/c/flat/map.md): The flatMap() method create a new array formed by applying function and then flattening the result by one level
- [flip()](https://arrayutils.docs.present.kim/methods/c/flip.md): The flip() method exchanges all keys with their values in an array
- [forEach()](https://arrayutils.docs.present.kim/methods/c/for-each.md): The forEach() method executes a provided function once for each array element.
- [intersect()](https://arrayutils.docs.present.kim/methods/c/intersect.md): The intersect() method computes the intersection with other arrays and returns the values that intersects with another array.
- [intersectAssoc()](https://arrayutils.docs.present.kim/methods/c/intersect/assoc.md): The intersectAssoc() method all similar to intersect(), but this applies with additional index check
- [intersectKey()](https://arrayutils.docs.present.kim/methods/c/intersect/key.md): The intersectKey() method all similar to intersect(), but this applies to keys
- [keys()](https://arrayutils.docs.present.kim/methods/c/keys.md): The keys() method return all the keys of an array
- [map()](https://arrayutils.docs.present.kim/methods/c/map.md): The map() method applies the callback to the elements
- [mapAssoc()](https://arrayutils.docs.present.kim/methods/c/map/assoc.md): The mapAssoc() method all similar to map(), but this applies with additional index check
- [mapKey()](https://arrayutils.docs.present.kim/methods/c/map/key.md): The mapKey() method all similar to map(), but this applies to keys
- [pad()](https://arrayutils.docs.present.kim/methods/c/pad.md): The pad() method pad array to the specified length with a value
- [push()](https://arrayutils.docs.present.kim/methods/c/push.md): The push() method push elements onto the end of array
- [replace()](https://arrayutils.docs.present.kim/methods/c/replace.md): The replace() method replaces elements from passed arrays into the first array
- [reverse()](https://arrayutils.docs.present.kim/methods/c/reverse.md): The reverse() method reverses an array
- [slice()](https://arrayutils.docs.present.kim/methods/c/slice.md): The slice() method returns an array with selected from start to end
- [sort()](https://arrayutils.docs.present.kim/methods/c/sort.md): The sort() method sort an array by values using a function or default sort function
- [sortKey()](https://arrayutils.docs.present.kim/methods/c/sort/key.md): The sortKey() method sort an array by keys using a function or default sort function
- [unique()](https://arrayutils.docs.present.kim/methods/c/unique.md): The unique() method removes duplicate values
- [unshift()](https://arrayutils.docs.present.kim/methods/c/unshift.md): The unshift() method all similar to push(), but this push elements onto the start of array
- [values()](https://arrayutils.docs.present.kim/methods/c/values.md): The values() method return all the values of an array
- [📖Suffixes](https://arrayutils.docs.present.kim/prefixs.md)
- [Suffix - From](https://arrayutils.docs.present.kim/prefixs/from.md): Suffixing "From" to the any methods can called statically.
- [Suffix - As](https://arrayutils.docs.present.kim/prefixs/as.md): Suffixing "As" to the chaining method for returns a pure array.
