Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
93
func
(m *Field) GetNumber() float64 {
94
if
x, ok := m.GetValue().(*Field_Number); ok {
95
return
x.Number
96
}
97
return
0
98
}
99
100
func
(m *Field) GetStr() string {
101
if
x, ok := m.GetValue().(*Field_Str); ok {
Callers
nothing calls this directly
Calls
1
GetValue
Method · 0.95
Tested by
no test coverage detected