remove Method
Removes the current value
API
remove(): void;
Example
import {cookiePart} from '@bitfiber/rx';
const now = new Date();
const token = cookiePart('token', {
path: '/some-path',
domain: '.example.com',
expires: new Date(now.getTime() - 1000*60*60*24),
maxAge: -1,
secure: true,
sameSite: 'strict',
});
token.remove();