# Functions
Gets a slice and a size as input and splits the slice into pieces in length of the size.
Removes falsey items from slice except values you mentioned.
Creates a new slice concatenating slice with other one.
Returns a slice of 'slice' elements that are not included in the other given slice using comparisons.
This method is like 'difference' except that it accepts a custom function which is invoked to compare elements of 'slice' to 'notIncluded' slice.
Creates a sub slice from passed slice with n elements dropped from the beginning.
Creates a new slice from the passed slice and removes elements from it when passed function returns true on that element.
Creates a sub slice from passed slice with n elements dropped from the end.
Fills a slice with a value from 'start' up to but not including 'end'.
This method finds first index of the given slice which the given value equals on that element's value.
This method finds first index of the given slice which the given function on that element, returns true.
Gets the first element of slice.
Flattens slice a single level deep.
Recursively flattens slice.
Flattens slice 'depth' level deep.
This method returns an object composed from key-value pairs.
No description provided by the author
Gets the first element of slice.
Gets the index at which the first occurrence of value is found in slice with equality comparisons.
Gets all but the last element of slice.
Creates a slice of unique values that are included in all given slices for equality comparisons.
This method is like Intersection except that it accepts comparator which is invoked to compare elements of 'slices'.
Converts all elements in slice into a string separated by 'separator'.
Gets the last element of slice.
This method is like IndexOf except that it iterates over elements of 'slice' from right to left.
Gets the last element of slice.
Computes the maximum value of slice.
This method is like Max except that it accepts a function which is invoked for each element in slice to return a number for comparison.
Computes the mean of the values in slice.
This method is like Mean except that it accepts a function which is invoked for each element in slice to generate the value to be averaged.
Computes the minimum value of slice.
This method is like Min except that it accepts a function which is invoked for each element in slice to return a number for comparison.
Gets the (n)th element of a slice.
Removes all given values from slice.
Removes elements from slice corresponding to indexes and returns a slice of remaining elements and removed elements.
Removes all elements from slice that the passed function returns true on them and returns a slice of remaining elements and a slice of removed elements.
Reverses slice so that the first element becomes the last, the second element becomes the second to last, and so on.
Creates a slice from a slice from 'start' up to 'to', but not including, end.
Uses a binary search to determine the lowest index at which value should be inserted into slice in order to maintain its sort order.
This method is like SortedIndex except that it accepts a function which is invoked for value and each element of slice to compute their sort ranking.
This method is like IndexOf except that it performs a binary search on a sorted slice.
Uses a binary search to determine the Highest index at which value should be inserted into slice in order to maintain its sort order.
Uses a binary search to determine the Highest index at which value should be inserted into slice in order to maintain its sort order.
This method is like LastIndexOf except that it performs a binary search on a sorted slice.
This function creates a duplicate-free version of an slice.
This method is like 'UniqueBy' except that it's designed and optimized for sorted slices.
Computes the sum of the values in slice.
This method is like Sum except that it accepts a function which is invoked for each element in slice to generate the value to be summed.
Returns all but the first element of slice.
Creates a sub slice of a given slice with (n) elements taken from the beginning.
Returns a sub slice of a given slice with (n) elements taken from the end.
Creates a sub slice of a slice with elements taken from the end.
Creates a sub slice of a slice with elements taken from the beginning.
Returns a slice of unique values, in order, from combine of all given slices.
Returns a slice of unique values, in order, from combine of all given slices.
Creates a duplicate-free version of a slice that only keeps the first occurrence of each element.
Creates a duplicate-free version of a slice that only keeps the first occurrence of each element.
This method is like Zip except that it accepts a slice of grouped elements and creates a slice regrouping the elements to their pre-zip configuration.
Returns a slice of 'slice' elements that are not included in the other given slice using equality comparisons.
Returns a slice of unique values that is the symmetric difference of the given slices.
This method is like Xor except that it accepts a function which is invoked for each element of each slices for comparing them.
Returns a slice of grouped elements, the first of which contains the first elements of the given slices, the second of which contains the second elements of the given slices, and so on.
This method is like Zip except that it accepts a function to specify how grouped values should be combined.
This method is like FromPairs except that it accepts two slices, one of property identifiers and one of corresponding values.
This method is like ZipMap except that it supports property paths.