Skip to main content

delete

Function delete 

Source
pub fn delete(key: &StorageKey, exclusive: bool)
Expand description

Delete anything stored at the given key.

Succeeds no matter what type of item is stored there, or if none is. After calling this function for a particular key, the storage location behaves as if it had never been set.