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

Function ParseBoolElseFalse

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

Source from the content-addressed store, hash-verified

210}
211
212func ParseBoolElseFalse(val string) (ret bool) {
213 ret, _ = ParseBool(val)
214 return
215}
216
217func ParseBool(val string) (bool, error) {
218 switch strings.ToLower(strings.TrimSpace(val)) {

Callers

nothing calls this directly

Calls 1

ParseBoolFunction · 0.85

Tested by

no test coverage detected