{# Autodoc Returns Partial Renders the return type and description. Only displays if there's a description OR a non-trivial return type. Trivial types (None) are already visible in header badge + signature. Required: element (DocElement) #} {% let meta = element?.metadata ?? {}, return_type = meta?.return_type ?? meta?.returns ?? '', return_desc = meta?.return_description ?? '', is_nontrivial_return = return_type and return_type | lower not in ('none', 'void', '') %} {% if return_desc or is_nontrivial_return %}

Returns

{{ return_type }} {% if return_desc %} {{ return_desc | markdownify | safe }} {% end %}
{% end %}