title: Get type of a variable in Kotlin
body: <p>How can I find the variable type in Kotlin?
  In Java there is <code>instanceof</code>, but Kotlin does not exist:</p>
  
  <pre><code>val properties = System.getProperties() // Which type?
  </code></pre>