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('
Profectus / game/persistence / isPersistent
isPersistent(
value
):value is Persistent<State>
Type guard for whether an arbitrary value is a persistent ref
unknown
The value that may or may not be a persistent ref
value is Persistent<State>