Posted on 23rd July 2024| views
Type Assertion offers access to the substantial basic value of the interface value.
Example;
b := c.(A)
The above statement implies that the interface value "c" maintains the concrete type "A" and allocates the underlying "A' value to the variable "b".