Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
103
func
(f *Formatter) hasName(typ super.Type) bool {
104
return
f.nameOf(typ) !=
""
105
}
106
107
func
(f *Formatter) nameOf(typ super.Type) string {
108
named, ok := typ.(*super.TypeNamed)
Callers
2
formatValueAndDecorate
Method · 0.95
formatValue
Method · 0.95
Calls
1
nameOf
Method · 0.95
Tested by
no test coverage detected