Reference
Remy Reference/agent/Store.exists
?

Store.exists

Returns whether a key holds an object.
Store.exists(key) → Promise<boolean>

Returns whether a key holds an object, without reading it. A cheap guard before a read or an overwrite.

Parameters
key
string
RequiredThe key to check.
Guard before writing
if (await Config.exists('config/latest.json')) { /* ... */ }