title: InvalidAssert layout: article

InvalidAssert occurs when a type assertion is applied to a
value that is not of interface type.

Example:
 var x = 1
 var _ = x.(float64)