MCPcopy Create free account
hub / github.com/danielmiessler/Fabric / ParseBoolElseFalse

Function ParseBoolElseFalse

internal/plugins/plugin.go:189–192  ·  view source on GitHub ↗
(val string)

Source from the content-addressed store, hash-verified

187}
188
189func ParseBoolElseFalse(val string) (ret bool) {
190 ret, _ = ParseBool(val)
191 return
192}
193
194func ParseBool(val string) (bool, error) {
195 switch strings.ToLower(strings.TrimSpace(val)) {

Callers

nothing calls this directly

Calls 1

ParseBoolFunction · 0.85

Tested by

no test coverage detected