Function pallet_roles::child::take

pub fn take<T>(child_info: &ChildInfo, key: &[u8]) -> Option<T>where
    T: Decode,
Expand description

Remove key from storage, returning its value if it had an explicit entry or None otherwise.