Function: hasSave()
hasSave(
key):boolean
Defined in: save.ts:60
Returns true if a save entry exists for the given key, false otherwise.
Parameters
key
string
The key to check.
Returns
boolean
true if the key exists, false otherwise.
Example
ts
if (facile.hasSave('player')) {
const playerState = facile.load('player');
}