MCPcopy Create free account
hub / github.com/corestoreio/pkg / ParseBool

Function ParseBool

util/byteconv/bool.go:26–42  ·  view source on GitHub ↗

ParseBool same as strconv.ParseBool but faster and no allocations. Use err == nil to check if a bool value is valid.

(b []byte)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TestParseNullBoolFunction · 0.85
BenchmarkParseBoolFunction · 0.85

Calls 1

syntaxErrorFunction · 0.85

Tested by 2

TestParseNullBoolFunction · 0.68
BenchmarkParseBoolFunction · 0.68