MCPcopy
hub / github.com/google/go-cmp / isExported

Function isExported

cmp/path.go:387–390  ·  view source on GitHub ↗

isExported reports whether the identifier is exported.

(id string)

Source from the content-addressed store, hash-verified

385
386// isExported reports whether the identifier is exported.
387func isExported(id string) bool {
388 r, _ := utf8.DecodeRuneInString(id)
389 return unicode.IsUpper(r)
390}

Callers 2

compareStructMethod · 0.70
FormatValueMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…