Debian Codegraph @

_test/gen13.go

raw symbols SCIP
1 package main
2
3 type Map[K comparable, V any] struct {
4 ж map[K]V
5 }
6
7 func (m Map[K, V]) Has(k K) bool {
8 _, ok := m.ж[k]
9 return ok
10 }
11
12 func main() {
13 m := Map[string, float64]{}
14 println(m.Has("test"))
15 }
16
17 // Output:
18 // false