Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/devfeel/mapper
/ Bool
Method
Bool
convert.go:35–37 ·
view source on GitHub ↗
Bool string to bool
()
Source
from the content-addressed store, hash-verified
33
34
// Bool string to bool
35
func
(f Convert) Bool() (bool, error) {
36
return
strconv.ParseBool(f.String())
37
}
38
39
// Float32 string to float32
40
func
(f Convert) Float32() (float32, error) {
Callers
1
setFieldValue
Method · 0.80
Calls
1
String
Method · 0.95
Tested by
no test coverage detected