Documentation ¶
Index ¶
- func Distinct[T comparable]() func(T) bool
- func DistinctBy[T any, B comparable](extractor func(T) B) func(T) bool
- func ExtractVal1[A, B any]() func(Pair[A, B]) A
- func ExtractVal2[A, B any]() func(Pair[A, B]) B
- func IsEmpty[T emtyable](t T) bool
- func IsNotEmpty[T emtyable](t T) bool
- func NonNil[T any]() func(v T) bool
- func NonNilPair[A, B any]() func(Pair[A, B]) bool
- type Pair
- type Stream
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Distinct ¶
func Distinct[T comparable]() func(T) bool
func DistinctBy ¶
func DistinctBy[T any, B comparable](extractor func(T) B) func(T) bool
func ExtractVal1 ¶
func ExtractVal2 ¶
func IsNotEmpty ¶
func IsNotEmpty[T emtyable](t T) bool
func NonNilPair ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.