The readOnly
read-only property of the DataStore
interface returns a boolean indicating whether the current data store is read-only.
Syntax#
Value#
A boolean.
Example#
The following example gets all the data stores on the device called "contacts", then logs its read-only status to the console: