MCPcopy Create free account
hub / github.com/buggregator/server / firstNonEmpty

Function firstNonEmpty

modules/sentry/span_classifier.go:53–60  ·  view source on GitHub ↗
(values ...string)

Source from the content-addressed store, hash-verified

51}
52
53func firstNonEmpty(values ...string) string {
54 for _, v := range values {
55 if v != "" {
56 return v
57 }
58 }
59 return ""
60}

Callers 1

classifySpanFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected