[][src]Function frame_support::storage::child::get_or_default

pub fn get_or_default<T: Decode + Sized + Default>(
    storage_key: &[u8],
    child_info: ChildInfo,
    key: &[u8]
) -> T

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