MCPcopy Index your code
hub / github.com/gavv/httpexpect / newBoolean

Function newBoolean

boolean.go:39–41  ·  view source on GitHub ↗
(parent *chain, val bool)

Source from the content-addressed store, hash-verified

37}
38
39func newBoolean(parent *chain, val bool) *Boolean {
40 return &Boolean{chain: parent.clone(), value: val}
41}
42
43// Raw returns underlying value attached to Boolean.
44// This is the value originally passed to NewBoolean.

Callers 7

BooleanMethod · 0.85
BooleanMethod · 0.85
NewBooleanFunction · 0.85
NewBooleanCFunction · 0.85
AsBooleanMethod · 0.85
TestBoolean_FailedChainFunction · 0.85
TestBoolean_ConstructorsFunction · 0.85

Calls 1

cloneMethod · 0.45

Tested by 2

TestBoolean_FailedChainFunction · 0.68
TestBoolean_ConstructorsFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…