title: Check TYPO3 link type in fluid
body: <p>I want to render a typolink in fluid, but i need to check if it is a download file (t3://file?uid=1), a page link (t3://page?uid=1) or an external link (<a href="https://www.abc.de" rel="nofollow noreferrer">https://www.abc.de</a> _blank).
  Is there a way or viewhelper to check the linktype in fluid?</p>
  
  <p>What i found were only via typoscript or a hacky way with VHS like</p>
  
  <pre><code>&lt;f:if condition="{target -&gt; v:math.round()} &gt; 0"&gt;
  </code></pre>
  
  <p>It's for TYPO3 9.x</p>