oken punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></div><p class="paragraph">Determines whether declaration has an explicitly declared type or if its value contains the given type with parentheses '('.</p><p class="paragraph">e.g.</p><div class="sample-container"><pre><code class="block lang-kotlin" theme="idea">val sampleProperty: Foo = someCollection.first() // hasTacitTypeOf(SampleClass::class) == t