Function frame_support::storage::hashed::take
source · pub fn take<T, HashFn, R>(hash: &HashFn, key: &[u8]) -> Option<T>where
T: Decode + Sized,
HashFn: Fn(&[u8]) -> R,
R: AsRef<[u8]>,
Expand description
Remove key
from storage, returning its value if it had an explicit entry or None
otherwise.