MCPcopy
hub / github.com/golang/protobuf / Bool

Function Bool

proto/wrappers.go:8–8  ·  view source on GitHub ↗

Bool stores v in a new bool value and returns a pointer to it.

(v bool)

Source from the content-addressed store, hash-verified

6
7// Bool stores v in a new bool value and returns a pointer to it.
8func Bool(v bool) *bool { return &v }
9
10// Int stores v in a new int32 value and returns a pointer to it.
11//

Callers 15

TestClearAllExtensionsFunction · 0.92
TestDiscardUnknownFunction · 0.92
newTestMessageFunction · 0.92
text_test.goFile · 0.92
initGoTestFunction · 0.92
TestResetFunction · 0.92
TestEncodeDecode3Function · 0.92
TestEncodeDecode4Function · 0.92
TestAllSetDefaultsFunction · 0.92

Calls

no outgoing calls

Tested by 13

TestClearAllExtensionsFunction · 0.74
TestDiscardUnknownFunction · 0.74
newTestMessageFunction · 0.74
initGoTestFunction · 0.74
TestResetFunction · 0.74
TestEncodeDecode3Function · 0.74
TestEncodeDecode4Function · 0.74
TestAllSetDefaultsFunction · 0.74
TestRequiredFunction · 0.74