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

Method GetNumber

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

Source from the content-addressed store, hash-verified

91}
92
93func (m *Field) GetNumber() float64 {
94 if x, ok := m.GetValue().(*Field_Number); ok {
95 return x.Number
96 }
97 return 0
98}
99
100func (m *Field) GetStr() string {
101 if x, ok := m.GetValue().(*Field_Str); ok {

Callers

nothing calls this directly

Calls 1

GetValueMethod · 0.95

Tested by

no test coverage detected