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

Method resultType

runtime/vam/expr/function/time.go:86–91  ·  view source on GitHub ↗
(tsVec vector.Any)

Source from the content-addressed store, hash-verified

84}
85
86func (b *Bucket) resultType(tsVec vector.Any) super.Type {
87 if tsVec.Type().ID() == super.IDDuration {
88 return super.TypeDuration
89 }
90 return super.TypeTime
91}
92
93type Now struct{}
94

Callers 3

callMethod · 0.95
constBinMethod · 0.95
constBinFlatMethod · 0.95

Calls 2

IDMethod · 0.65
TypeMethod · 0.65

Tested by

no test coverage detected