pan class="token function"><strike>hasInterfaceOrObjectDeclaration</strike></span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">predicate<span class="token operator">: </span><span class="token punctuation">(</span><a href="../../com.lemonappdev.konsist.api.declaration.combined/-ko-interface-and-object-declaration/index.html">KoInterfaceAndObjectDeclaration</a><span class="token punctuation">)</span><span class="token operator"> -&gt; </span><a href="https://