pub fn take<T: Codec + Sized>(storage_key: &[u8], key: &[u8]) -> Option<T> {
		let r = get(storage_key, key);
		if r.is_some() {
			kill(storage_key, key);
		}
		r
	}
/// Remove `key` from storage, returning its value if it had an explicit entry or `None` otherwise.
Remove `key` from storage, returning its value if it had an explicit entry or `None` otherwise.
Remove ` key ` from storage returning its value if it had an explicit entry or ` None ` otherwise .
pub fn take<T: Codec + Sized>(storage_key: &[u8], key: &[u8]) -> Option<T> {
		let r = get(storage_key, key);
		if r.is_some() {
			kill(storage_key, key);
		}
		r
	}
pub fn take < T : Codec + Sized > ( storage_key : & [ u8 ] , key : & [ u8 ] ) -> Option < T > { let r = get ( storage_key , key ) ; if r . is_some ( ) { kill ( storage_key , key ) ; } r }
Remove `key` from storage, returning its value if it had an explicit entry or `None` otherwise.
Remove ` key ` from storage returning its value if it had an explicit entry or ` None ` otherwise .
storage_key
&[u8]
key
&[u8]
storage_key
&[u8]
key
&[u8]