MCPcopy
hub / github.com/rs/zerolog / Bool

Method Bool

array.go:148–151  ·  view source on GitHub ↗

Bool appends the val as a bool to the array.

(b bool)

Source from the content-addressed store, hash-verified

146
147// Bool appends the val as a bool to the array.
148func (a *Array) Bool(b bool) *Array {
149 a.buf = enc.AppendBool(enc.AppendArrayDelim(a.buf), b)
150 return a
151}
152
153// Int appends i as a int to the array.
154func (a *Array) Int(i int) *Array {

Callers

nothing calls this directly

Calls 2

AppendBoolMethod · 0.65
AppendArrayDelimMethod · 0.65

Tested by

no test coverage detected