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

Method GetStr

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

Source from the content-addressed store, hash-verified

98}
99
100func (m *Field) GetStr() string {
101 if x, ok := m.GetValue().(*Field_Str); ok {
102 return x.Str
103 }
104 return ""
105}
106
107func (m *Field) GetBoolean() bool {
108 if x, ok := m.GetValue().(*Field_Boolean); ok {

Callers

nothing calls this directly

Calls 1

GetValueMethod · 0.95

Tested by

no test coverage detected