Click or drag to resize

OSHasEnvironment Method

Returns true if the environment variable with the name variable exists.

Note: Double-check the casing of variable. Environment variable names are case-sensitive on all platforms except Windows.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static bool HasEnvironment(
	string variable
)

Parameters

variable
Type: SystemString

[Missing <param name="variable"/> documentation for "M:Godot.OS.HasEnvironment(System.String)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Godot.OS.HasEnvironment(System.String)"]

See Also