pub fn take(name: &str) -> Option<String>
The value of name: the stashed one, else (a process that never stashed, a test) the environment’s, wiped from there as it is read. None when unset.
name