Get¶
func Get[K comparable, V any](mapInstance map[K]V, key K, defaultValue V) V
Get safely gets a value from the map with a default fallback if the key doesn't exist.
func Get[K comparable, V any](mapInstance map[K]V, key K, defaultValue V) V
Get safely gets a value from the map with a default fallback if the key doesn't exist.