Skip to Content

remove Method

Removes a value associated with the provided key from local storage

@param key: string
The specific key under which the value is stored and should be removed

API

remove(key: string): void;

Example

import {localStorage} from '@bitfiber/rx'; const ls = localStorage(); ls.remove('key');
Last updated on