MCPcopy Create free account
hub / github.com/despiteallobjections/amigo / Addressable

Method Addressable

types/api.go:338–340  ·  view source on GitHub ↗

Addressable reports whether the corresponding expression is addressable (https://golang.org/ref/spec#Address_operators).

()

Source from the content-addressed store, hash-verified

336// Addressable reports whether the corresponding expression
337// is addressable (https://golang.org/ref/spec#Address_operators).
338func (tv TypeAndValue) Addressable() bool {
339 return tv.mode == variable
340}
341
342// Assignable reports whether the corresponding expression
343// is assignable to (provided a value of the right type).

Callers 3

predStringFunction · 0.80
modeFunction · 0.80
exprMethod · 0.80

Calls

no outgoing calls

Tested by 2

predStringFunction · 0.64
modeFunction · 0.64