title: How do I use reflect to check if the type of a struct field is interface{}?
body: <p>I am using the reflect package to determine the type of a struct field is <code>interface{}</code></p>
  
  <p>I want to do the comparison like so (where <code>t</code> is a <code>reflect.Type</code>):</p>
  
  <pre><code>if  t == reflect.TypeOf(interface{}) {
  
  }
  </code></pre>
  
  <p>The problem is that the compiler complains: <code>type interface {} is not an expression</code>.</p>
  
  <p>Is there anyway to check if the type of a struct field is an <code>interface{}</code>?</p>