MCPcopy Create free account
hub / github.com/amp-labs/connectors / Has

Method Has

common/stringMap.go:29–33  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

27}
28
29func (m StringMap) Has(key string) bool {
30 _, ok := m[key]
31
32 return ok
33}
34
35func (m StringMap) Values() []any {
36 return slices.AppendSeq(make([]any, 0, len(m)), maps.Values(m))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected