amber/env

Values

pub fn delete(key: String) -> Result(Nil, error.Error)

Deletes an environment variable. Mutates the process environment.

pub fn get(key: String) -> Result(String, Nil)
pub fn has(key: String) -> Bool
pub fn set(
  key: String,
  to value: String,
) -> Result(Nil, error.Error)

Sets the value of an environment variable. Mutates the process environment.

pub fn to_dict() -> dict.Dict(String, String)
Search Document