Documentation
¶
Index ¶
- func AllIsType[T any, I any](input ...I) bool
- func IsType[T any](t any) bool
- func RemoveType[T any, I any](input []I) []I
- func SliceEveryBy[T any](collection []T, predicate func(item T) bool) bool
- func SliceToMap[T any, K comparable, V any](collection []T, transform func(item T) (K, V)) map[K]V
- func SliceTransform[T any, R any](collection []T, iteratee func(item T, index int) R) []R
- func TrimmedFilenameFromPath(p string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RemoveType ¶
func SliceEveryBy ¶
func SliceToMap ¶
func SliceToMap[T any, K comparable, V any](collection []T, transform func(item T) (K, V)) map[K]V
func SliceTransform ¶
func TrimmedFilenameFromPath ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.