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

Method Call

runtime/vam/expr/function/types.go:161–164  ·  view source on GitHub ↗
(args ...vector.Any)

Source from the content-addressed store, hash-verified

159}
160
161func (t *TypeOf) Call(args ...vector.Any) vector.Any {
162 val := t.sctx.LookupTypeValue(args[0].Type())
163 return vector.NewConstType(val.Bytes(), args[0].Len())
164}
165
166type TypeName struct {
167 sctx *super.Context

Callers

nothing calls this directly

Calls 5

NewConstTypeFunction · 0.92
LookupTypeValueMethod · 0.80
TypeMethod · 0.65
LenMethod · 0.65
BytesMethod · 0.45

Tested by

no test coverage detected