MCPcopy Create free account
hub / github.com/davecheney/pub / parseBool

Function parseBool

models/actor.go:354–361  ·  view source on GitHub ↗

parseBool parses a boolean value from a request parameter. If the parameter is not present, it returns false. If the parameter is present but cannot be parsed, it returns false

(r *http.Request, key string)

Source from the content-addressed store, hash-verified

Callers 3

MaybeExcludeRepliesFunction · 0.70
MaybeExcludeReblogsFunction · 0.70
MaybePinnedFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected