ایک type assertion interface value سے concrete type نکالتا ہے، اور ایک type switch interface کی underlying type پر branch کرتا ہے۔ یہ وہ طریقے ہیں جن سے آپ interface سے specific type information واپس حاصل کرتے ہیں (خاص طور پر empty interface / any سے)۔
Type assertion — concrete type نکالیں
i {} =
s := i.()
fmt.Println(s)
n := i.()
