What restriction is there on the type of 'var' to compile this 'i := myVal.(int)?'

🎲 Try a Random Question  |  Total Questions in Quiz: 42  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
Go (Programming Language) Quiz — practice the complete quiz, review flashcards, or try a random question.

Go (Programming Language) MCQs For LinkedIn Skill Assessments.


What restriction is there on the type of 'var' to compile this 'i := myVal.(int)?'