referrerpolicy=no-referrer-when-downgrade

Function frame_support::storage::unhashed::take_or_default

source ·
pub fn take_or_default<T: Decode + Sized + Default>(key: &[u8]) -> T
Expand description

Remove key from storage, returning its value, or, if there was no explicit entry in storage, the default for its type.