Question:

In GO language how you can check variable type at runtime?

Answer:

A special type of switch is dedicated in GO to check variable type at runtime, this switch is referred as type switch.  Also, you can switch on the type of an interface value with Type Switch.


Keywords:

© 2017 QuizBucket.org