package
0.0.63
Repository: https://github.com/boostgo/lite.git
Documentation: pkg.go.dev

# Functions

Add appends new elements to slice.
AddLeft append new elements to the start of slice.
All iterate over all slice elements and stop when func returns false.
Any find element by provided condition func and if found - returns true.
AreEqual compares two slices by using provided func.
AreEqualComparable compares two slices of comparable types.
AreUnique compares slice for unique elements by provided func.
AreUniqueComparable compares slice of comparable types for unique elements.
Chunk divide slice for sub-slices by provided chunk size.
Contains check if element exist in slice.
CopyMap return copy of provided map.
Each iterate over all slice elements and run provided function.
EachErr iterate over all slice elements and run provided function.
Exist check if element exist by provided condition func.
Filter slice with provided condition func.
FilterNot slice with provided condition func.
First returns element and found boolean by provided condition func.
Get return element by index.
IndexOf return index of found element by provided condition func.
Iterate creates Iterator with provided slice.
Join unions provided slices into one.
JoinString build string from slice elements.
Keys returns all keys of provided map.
Last returns element and found boolean by provided condition func.
Map convert slice to another type of slice by provided converting function.
MapErr convert slice to another type of slice by provided converting function.
Of create OfSlice.
Remove delete elements from slice by provided indexes.
RemoveWhere delete element from slice by provided condition func.
Reverse slice Important: function returns new slice.
Set append new elements to slice on provided index.
Shuffle set elements in slice by random indexes.
Single returns element and found boolean by provided condition func.
SliceAny convert slice to "any" type elements slice.
Sort slice by provided compare function.
Sub return "sub slice" by provided start & end indexes.
Unique make slice unique by provided condition func.
UniqueComparable make slice unique.
Values return all values of provided map.

# Interfaces

Iterator tool for iterating by provided slice.
OfSlice wrap over slice with helpful methods.