23 lines
473 B
Haxe
Raw Normal View History

2025-01-22 16:18:30 +01:00
package eval.luv;
/**
Environment variables.
@see https://aantron.github.io/luv/luv/Luv/Env
**/
extern class Env {
/**
Retrieves the value of an environment variable.
**/
static function getEnv(name:String):Result<NativeString>;
/**
Sets an environment variable.
**/
static function setEnv(name:String, value:NativeString):Result<Result.NoData>;
/**
Retrieves all environment variables.
**/
static function environ():Result<Map<String,NativeString>>;
}