# Functions
No description provided by the author
BothExist Gets the common elements in the slice (intersection).
BothExistAny gets elements that are common in the slice (intersection).
Complete whether a and b are equal after deduplication (ignore order).
Contain Whether to include.
copy a by b b->a.
Delete Delete slice elements, support negative number to delete the reciprocal number.
DeleteAt Delete slice elements, support negative number to delete the reciprocal number.
No description provided by the author
DistinctAny duplicate removal.
No description provided by the author
Duplicate Whether there are duplicates.
DuplicateAny Whether there are duplicates.
Equal Compares slices to each other (including element order).
No description provided by the author
No description provided by the author
No description provided by the author
HasKey get whether the map contains key.
If true -> a, false -> b.
IndexAny get the index of the element.
IndexOf get the index of the element.
No description provided by the author
No description provided by the author
Keys get map keys.
Max get maximum value.
Min get minimum value.
NotNilReplace sets old to new_ when new_ is not null.
Order sorts ts by es.
No description provided by the author
No description provided by the author
No description provided by the author
Single exists in a and does not exist in b or exists in b and does not exist in a.
Slice Converts slice types in batches.
SliceAnySub returns elements in slice a that are not present in slice b (a - b).
SliceSet slice to map[E]struct{}.
SliceSetAny slice to map[K]struct{}.
SliceSub 函数返回在切片 a 中但不在切片 b 中的元素(a - b)。 参数 a 为原始切片,参数 b 为要从中剔除元素的切片。 返回值为一个新的切片,包含切片 a 中不包含在切片 b 中的元素。.
SliceSubAny returns elements in slice a that are not present in slice b (a - b).
SliceToMap slice to map.
SliceToMapAny slice to map (Custom type).
SliceToMapOkAny slice to map (Custom type, filter).
Sort basic type sorting.
SortAny custom sort method.
No description provided by the author
No description provided by the author
No description provided by the author
Values get map values.
# Interfaces
Ordered types that can be sorted.