MCPcopy Index your code
hub / github.com/redspread/spread / GetObject

Method GetObject

pkg/spreadproto/object.pb.go:114–119  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

112}
113
114func (m *Field) GetObject() *Object {
115 if x, ok := m.GetValue().(*Field_Object); ok {
116 return x.Object
117 }
118 return nil
119}
120
121func (m *Field) GetArray() *Array {
122 if x, ok := m.GetValue().(*Field_Array); ok {

Callers 2

getObjectFromDocFunction · 0.80
getFromMapFieldFunction · 0.80

Calls 1

GetValueMethod · 0.95

Tested by

no test coverage detected