Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GetStream/stream-go2
/ parseBool
Function
parseBool
utils.go:77–80 ·
view source on GitHub ↗
(value string)
Source
from the content-addressed store, hash-verified
75
}
76
77
func
parseBool(value string) bool {
78
v := strings.ToLower(value)
79
return
v !=
""
&& v !=
"false"
&& v !=
"f"
&& v !=
"0"
80
}
81
82
func
decode(resp []byte, err error) (*BaseResponse, error) {
83
if
err != nil {
Callers
1
parseNext
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected