MCPcopy Create free account
hub / github.com/gavv/httpexpect / Alias

Method Alias

boolean.go:81–87  ·  view source on GitHub ↗

Alias is similar to Value.Alias.

(name string)

Source from the content-addressed store, hash-verified

79
80// Alias is similar to Value.Alias.
81func (b *Boolean) Alias(name string) *Boolean {
82 opChain := b.chain.enter("Alias(%q)", name)
83 defer opChain.leave()
84
85 b.chain.setAlias(name)
86 return b
87}
88
89// Path is similar to Value.Path.
90func (b *Boolean) Path(path string) *Value {

Callers 1

TestBoolean_AliasFunction · 0.95

Calls 3

enterMethod · 0.80
leaveMethod · 0.80
setAliasMethod · 0.80

Tested by 1

TestBoolean_AliasFunction · 0.76