MCPcopy
hub / github.com/uber-go/zap / Bools

Function Bools

array.go:38–40  ·  view source on GitHub ↗

Bools constructs a field that carries a slice of bools.

(key string, bs []bool)

Source from the content-addressed store, hash-verified

36
37// Bools constructs a field that carries a slice of bools.
38func Bools(key string, bs []bool) Field {
39 return Array(key, bools(bs))
40}
41
42// ByteStrings constructs a field that carries a slice of []byte, each of which
43// must be UTF-8 encoded text.

Callers 3

TestFieldConstructorsFunction · 0.85
TestArrayWrappersFunction · 0.85

Calls 2

ArrayFunction · 0.85
boolsTypeAlias · 0.85

Tested by 3

TestFieldConstructorsFunction · 0.68
TestArrayWrappersFunction · 0.68