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

Function newTypeVectorFromValues

typevectortable.go:49–55  ·  view source on GitHub ↗
(vals []Value)

Source from the content-addressed store, hash-verified

47}
48
49func newTypeVectorFromValues(vals []Value) typeVector {
50 out := make(typeVector, 0, len(vals))
51 for _, val := range vals {
52 out = append(out, val.Type())
53 }
54 return out
55}
56
57func (t typeVector) equal(to []Type) bool {
58 return slices.Equal(t, to)

Callers 1

LookupByValuesMethod · 0.85

Calls 1

TypeMethod · 0.65

Tested by

no test coverage detected