[−][src]Function frame_support::storage::unhashed::take_or
pub fn take_or<T: Decode + Sized>(key: &[u8], default_value: T) -> T
Return the value of the item in storage under key
, or default_value
if there is no
explicit entry. Ensure there is no explicit entry on return.