Function pallet_roles::child::get_or

pub fn get_or<T>(child_info: &ChildInfo, key: &[u8], default_value: T) -> Twhere
    T: Decode,
Expand description

Return the value of the item in storage under key, or default_value if there is no explicit entry.