Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MMadmer/EpicAssetsNotifyBot
/ asBool
Function
asBool
internal/model/normalize.go:247–250 ·
view source on GitHub ↗
(value any)
Source
from the content-addressed store, hash-verified
245
}
246
247
func
asBool(value any) bool {
248
v, ok := value.(bool)
249
return
ok && v
250
}
251
252
func
asBoolDefault(value any, defaultValue bool) bool {
253
if
v, ok := value.(bool); ok {
Callers
3
NormalizeChannels
Method · 0.85
NormalizeGuildConfigs
Method · 0.85
NormalizeUserProfiles
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected