Addressable reports whether the corresponding expression is addressable (https://golang.org/ref/spec#Address_operators).
()
| 336 | // Addressable reports whether the corresponding expression |
| 337 | // is addressable (https://golang.org/ref/spec#Address_operators). |
| 338 | func (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). |
no outgoing calls