Explain what Type assertion is used for and how it does it?
Answer:
Type conversion is used to convert dissimilar types in GO. A type assertion takes an interface value and retrieve from it a value of the specified explicit type.
Explain what Type assertion is used for and how it does it?
Answer:
Type conversion is used to convert dissimilar types in GO. A type assertion takes an interface value and retrieve from it a value of the specified explicit type.
© 2017 QuizBucket.org