Profectus / game/persistence / isPersistent
Function: isPersistent() ​
isPersistent(
value
):value is Persistent<State>
Type guard for whether an arbitrary value is a persistent ref
Parameters ​
value ​
unknown
The value that may or may not be a persistent ref
Returns ​
value is Persistent<State>