removeItem(key)
Removes an item.
Arguments
key
(string): A string to remove an item under.
Returns
(bool): true
if item is found and deleted, false
otherwise.
Example
// `result` will equal either `true` or `false` -
// - depending if item was found and successfully deleted
const result = adapter.removeItem('key');
Last updated