get Method
Returns the value of the cookie associated with the given key and parses it as JSON. If the cookie
does not exist, returns undefined
@param key: string
The specific key under which the cookie value is stored
@returns T
API
get(key: string): T;
Example
import {cookie} from '@bitfiber/rx';
const ck = cookie();
const value = ck.get('key');