Documentation
¶
Index ¶
- func CollectFunc[T, K any](seq iter.Seq[T], f func(T) K) iter.Seq[K]
- func Delete[T comparable](ary []T, val T) []T
- func Each[T any](ary []T, f func(T)) []T
- func FindAll[T comparable](ary []T, f func(T) bool) []T
- func Index[T any](ary []T, f func(T) bool) int
- func InsertBefore[T comparable](s []T, before T, v ...T) []T
- func IsInclude[T comparable](ary []T, val T) bool
- func Map[T, K any](ary []T, f func(T) K) []K
- func Sum[T any](ary []T, m func(T) int64) int64
- func Uniq[T, K comparable](ary []T, f func(T) K) []T
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Delete ¶
func Delete[T comparable](ary []T, val T) []T
func FindAll ¶
func FindAll[T comparable](ary []T, f func(T) bool) []T
func InsertBefore ¶
func InsertBefore[T comparable](s []T, before T, v ...T) []T
func IsInclude ¶
func IsInclude[T comparable](ary []T, val T) bool
func Uniq ¶
func Uniq[T, K comparable](ary []T, f func(T) K) []T
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.