[][src]Function env_perm::check_or_set

pub fn check_or_set<T, U>(var: T, value: U) -> Result<()> where
    T: Display + AsRef<OsStr>,
    U: Display

Checks if a environment variable is set. If it is then nothing will happen. If it's not then it will be added to your profile.