SmartStorageAbility.remove

Requires:
@ray-js/panel-sdk≥1.0.0

Method signature
SmartStorageAbility.remove(key: string)

Description

Delete the stored data for the specified key

Parameters

ParameterTypeRequiredDescription
keystringYesStorage key to delete

Return Value

Type: Promise<unknown>
Deletion result

Examples

Example

await sdm.storage.remove('brightness');