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

Method innerType

runtime/sam/expr/map.go:65–71  ·  view source on GitHub ↗
(types []super.Type)

Source from the content-addressed store, hash-verified

63}
64
65func (a *mapCall) innerType(types []super.Type) super.Type {
66 types = super.UniqueTypes(types)
67 if len(types) == 1 {
68 return types[0]
69 }
70 return a.sctx.LookupTypeUnion(types)
71}

Callers 1

EvalMethod · 0.95

Calls 2

UniqueTypesFunction · 0.92
LookupTypeUnionMethod · 0.80

Tested by

no test coverage detected