persistedAsync

external fun persistedAsync(): Promise<JsBoolean>(source)

The persisted() method of the StorageManager interface returns a Promise that resolves to true if your site's storage bucket is persistent.

MDN Reference