Scoop API

scoop:scoop.platform:0.1.0

environmentVariable

function environmentVariable

source · line 13
public
public fun environmentVariable(name: String): OsString?

Returns an independent value snapshot, distinguishing absence from an empty string. Names and values retain the operating system's native encoding.

function environmentVariable

source · line 20
public
public fun environmentVariable(name: OsString): OsString?

Returns an independent value snapshot, distinguishing absence from an empty string. Windows name lookup follows the system's case-insensitive rules.