1 line
1.9 KiB
JavaScript
1 line
1.9 KiB
JavaScript
import{_ as t,c as a,a0 as s,o as r}from"./chunks/framework.P9qPzDnn.js";const h=JSON.parse('{"title":"Function: isPersistent()","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/game/persistence/functions/isPersistent.md","filePath":"api/game/persistence/functions/isPersistent.md","lastUpdated":null}'),n={name:"api/game/persistence/functions/isPersistent.md"};function i(o,e,c,l,d,p){return r(),a("div",null,e[0]||(e[0]=[s('<p><a href="./../../../">Profectus</a> / <a href="./../">game/persistence</a> / isPersistent</p><h1 id="function-ispersistent" tabindex="-1">Function: isPersistent() <a class="header-anchor" href="#function-ispersistent" aria-label="Permalink to "Function: isPersistent()""></a></h1><blockquote><p><strong>isPersistent</strong>(<code>value</code>): <code>value is Persistent<State></code></p></blockquote><p>Type guard for whether an arbitrary value is a persistent ref</p><h2 id="parameters" tabindex="-1">Parameters <a class="header-anchor" href="#parameters" aria-label="Permalink to "Parameters""></a></h2><h3 id="value" tabindex="-1">value <a class="header-anchor" href="#value" aria-label="Permalink to "value""></a></h3><p><code>unknown</code></p><p>The value that may or may not be a persistent ref</p><h2 id="returns" tabindex="-1">Returns <a class="header-anchor" href="#returns" aria-label="Permalink to "Returns""></a></h2><p><code>value is Persistent<State></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/game/persistence.ts#L195" target="_blank" rel="noreferrer">profectus/src/game/persistence.ts:195</a></p>',12)]))}const f=t(n,[["render",i]]);export{h as __pageData,f as default};
|