referrerpolicy=no-referrer-when-downgrade

Function frame_support::storage::unhashed::get_or_default

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

Return the value of the item in storage under key, or the type’s default if there is no explicit entry.