MCPcopy Create free account
hub / github.com/brimdata/super / hasName

Method hasName

sup/formatter.go:103–105  ·  view source on GitHub ↗
(typ super.Type)

Source from the content-addressed store, hash-verified

101}
102
103func (f *Formatter) hasName(typ super.Type) bool {
104 return f.nameOf(typ) != ""
105}
106
107func (f *Formatter) nameOf(typ super.Type) string {
108 named, ok := typ.(*super.TypeNamed)

Callers 2

formatValueMethod · 0.95

Calls 1

nameOfMethod · 0.95

Tested by

no test coverage detected