MCPcopy
hub / github.com/gofiber/fiber / GetFloat64

Method GetFloat64

state.go:156–158  ·  view source on GitHub ↗

GetFloat64 retrieves a float64 value from the State. It returns the float64 and a boolean indicating successful type assertion.

(key string)

Source from the content-addressed store, hash-verified

154// GetFloat64 retrieves a float64 value from the State.
155// It returns the float64 and a boolean indicating successful type assertion.
156func (s *State) GetFloat64(key string) (float64, bool) {
157 return GetState[float64](s, key)
158}
159
160// GetUint retrieves a uint value from the State.
161// It returns the uint and a boolean indicating successful type assertion.

Callers 2

TestState_GetFloat64Function · 0.80

Calls

no outgoing calls

Tested by 2

TestState_GetFloat64Function · 0.64