I have a getter to get the value from a cookie.
Now I have 2 cookies by the name shares= and by the name obligations= .
shares=
obligations=
I want to
If you just need to check if some cookie exist then simple do this:
document.cookie.split('logged=true').length == 2
if cookie logged=true exist, you will get 2, if not 1.
logged=true - change this to you cookie name=value, or just a name