
<h1 id="get-return-type">
 <a href="#/api/function/getReturnType" class="anchor">
   <span>getReturnType</span>
  </a>
</h1>

<div class="signature">

<hr>

  <div class="definition-container">
    <div class="definition">
      <code class="desktop-only"><a href="#/api/dtype_t/">occa::dtype&#95;t</a> getReturnType()</code>
      <code class="mobile-only"><a href="#/api/dtype_t/">occa::dtype&#95;t</a> getReturnType(
    
)</code>
      <div class="flex-spacing"></div>
      <a href="https://github.com/libocca/occa/blob/7d02eac1/include/occa/functional/function.hpp#L72" target="_blank">Source</a>
    </div>
    
  </div>

  <hr>
</div>


<h2 id="description">
 <a href="#/api/function/getReturnType?id=description" class="anchor">
   <span>Description</span>
  </a>
</h2>

Return the [occa::dtype_t](/api/dtype_t/) data type for the return value
