STRUCT
EnvironmentVariable
Contents
- Properties
valueisEnabled
- Methods
environmentVariable(value:isEnabled:)init(stringLiteral:)
swift
public struct EnvironmentVariable: Equatable, Codable, Hashable, ExpressibleByStringLiteral, SendableIt represents an environment variable that is passed when running a scheme's action
Properties
value
swift
public var value: StringThe value of the environment variable
isEnabled
swift
public var isEnabled: BoolWhether the variable is enabled or not
Methods
environmentVariable(value:isEnabled:)
swift
public static func environmentVariable(value: String, isEnabled: Bool) -> Selfinit(stringLiteral:)
swift
public init(stringLiteral value: String)Parameters
| Name | Description |
|---|---|
| value | The value of the new instance. |
