package
0.5.0
Repository: https://github.com/siderolabs/gen.git
Documentation: pkg.go.dev

# Functions

Contains reports whether m keys contains all the elements of the slice slc.
Filter returns a map containing all the elements of m that satisfy fn.
FilterInPlace applies the function fn to each element of the map and returns an old map with the filtered results.
Intersect returns a list of keys contained in both maps.
Keys returns the keys of the map m.
KeysFunc applies the function fn to each key of the map m and returns a new slice with the results.
Map applies the function fn to each element of the map and returns a new map with the results.
ToSlice applies the function fn to each element of the map and returns a new slice with the results.
Values returns the values of the map m.
ValuesFunc applies the function fn to each value of the map m and returns a new slice with the results.