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

Method DerefWithNone

value.go:376–385  ·  view source on GitHub ↗
(field string)

Source from the content-addressed store, hash-verified

374}
375
376func (v *Value) DerefWithNone(field string) (*Value, bool) {
377 if v == nil {
378 return nil, false
379 }
380 i, ok := v.IndexOfField(field)
381 if !ok {
382 return nil, false
383 }
384 return v.DerefByColumn(i)
385}
386
387func (v *Value) DerefPath(path field.Path) *Value {
388 for len(path) != 0 {

Callers

nothing calls this directly

Calls 2

IndexOfFieldMethod · 0.95
DerefByColumnMethod · 0.95

Tested by

no test coverage detected