Skip to Content

get Method

Retrieves the value associated with the specified key

@param key: string
The key for which to retrieve the value

@returns T

API

get(key: string): T;

Example

import {memoryStorage} from '@bitfiber/rx'; const ms = memoryStorage(); const value = ms.get('key');
Last updated on