Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FlatMap ¶
func FlatMap[M ~map[K]V, K comparable, V any, K1 comparable](m M, optMapper funcs.OptMapper[K, K1]) []K1
FlatMap returns m keys mapped with optMapper; in case optMapper(key) == nil, key is ignored.
func Map ¶
func Map[M ~map[K]V, K comparable, V any, K1 comparable](m M, mapper funcs.Mapper[K, K1]) []K1
Map returns m keys mapped with mapper.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.