Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/brimdata/super
/ IsUnionType
Function
IsUnionType
type.go:346–349 ·
view source on GitHub ↗
(typ Type)
Source
from the content-addressed store, hash-verified
344
}
345
346
func
IsUnionType(typ Type) bool {
347
_, ok := TypeUnder(typ).(*TypeUnion)
348
return
ok
349
}
350
351
func
IsRecordType(typ Type) bool {
352
_, ok := TypeUnder(typ).(*TypeRecord)
Callers
2
formatType
Method · 0.92
decodePrimitive
Method · 0.92
Calls
1
TypeUnder
Function · 0.85
Tested by
no test coverage detected