1 line
2.2 KiB
JavaScript
1 line
2.2 KiB
JavaScript
import{_ as r,c as a,a0 as o,o as s}from"./chunks/framework.P9qPzDnn.js";const f=JSON.parse('{"title":"Function: displayResource()","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/features/resources/resource/functions/displayResource.md","filePath":"api/features/resources/resource/functions/displayResource.md","lastUpdated":null}'),t={name:"api/features/resources/resource/functions/displayResource.md"};function c(i,e,n,u,d,l){return s(),a("div",null,e[0]||(e[0]=[o('<p><a href="./../../../../">Profectus</a> / <a href="./../">features/resources/resource</a> / displayResource</p><h1 id="function-displayresource" tabindex="-1">Function: displayResource() <a class="header-anchor" href="#function-displayresource" aria-label="Permalink to "Function: displayResource()""></a></h1><blockquote><p><strong>displayResource</strong>(<code>resource</code>, <code>overrideAmount</code>?): <code>string</code></p></blockquote><p>Utility for displaying a resource with the correct precision.</p><h2 id="parameters" tabindex="-1">Parameters <a class="header-anchor" href="#parameters" aria-label="Permalink to "Parameters""></a></h2><h3 id="resource" tabindex="-1">resource <a class="header-anchor" href="#resource" aria-label="Permalink to "resource""></a></h3><p><a href="./../interfaces/Resource"><code>Resource</code></a></p><h3 id="overrideamount" tabindex="-1">overrideAmount? <a class="header-anchor" href="#overrideamount" aria-label="Permalink to "overrideAmount?""></a></h3><p><a href="./../../../../lib/break_eternity/type-aliases/DecimalSource"><code>DecimalSource</code></a></p><h2 id="returns" tabindex="-1">Returns <a class="header-anchor" href="#returns" aria-label="Permalink to "Returns""></a></h2><p><code>string</code></p><h2 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-label="Permalink to "Defined in""></a></h2><p><a href="https://code.incremental.social/profectus/Profectus/src/branch/main/src/features/resources/resource.ts#L152" target="_blank" rel="noreferrer">profectus/src/features/resources/resource.ts:152</a></p>',13)]))}const h=r(t,[["render",c]]);export{f as __pageData,h as default};
|