SmartStorageAbility.remove(key: string)

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

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');