getData Method

Get the value for a key from this Storage. If key is not present, return undefined.

getData(key: string): undefined | StorageValue

Parameter Type Description
key string  

Returns - undefined | StorageValue

Defined in

Last Updated: 11 June, 2024