Description
Get the value of key. If the key does not exist,null is returned. An error is returned if the value stored at key is not a string.
Syntax
Parameters
string
required
The key to retrieve
Type Parameters
type
default:"string"
The expected type of the returned data. The SDK will attempt to deserialize the value to this type.
Returns
TData | null
The value of the key, or
null if the key does not exist