Home > @i2analyze/notebook-sdk > toolview > IVolatileStore > get
toolview.IVolatileStore.get() method
Reads the value of a key in the volatile store.
Signature:
get<TValue = unknown>(key: string): TValue | undefined;
Introduced: version 1.0
Type Parameters
| Parameter | Type | Description | 
|---|---|---|
| TValue | any(default: unknown) | The type of the read value. | 
Parameters
| Parameter | Type | Description | 
|---|---|---|
| key | string | The key whose value to read. | 
Returns:
TValue | undefined
The stored value, or undefined if the key does not exist in the store.