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

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