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

Function isNone

vector/record.go:169–177  ·  view source on GitHub ↗
(vec Any, slot uint32)

Source from the content-addressed store, hash-verified

167}
168
169func isNone(vec Any, slot uint32) bool {
170 if _, ok := vec.(*None); ok {
171 return true
172 }
173 if o, ok := vec.(*Optional); ok {
174 return o.Dynamic.Tags[slot] == 1
175 }
176 return false
177}
178
179func NewFieldFromRLE(sctx *super.Context, vec Any, length uint32, runlens []uint32) Any {
180 if len(runlens) == 0 {

Callers 1

SerializeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected