Skip to content

STRUCT

EnvironmentVariable

Contents

swift
public struct EnvironmentVariable: Equatable, Codable, Hashable, ExpressibleByStringLiteral

It represents an environment variable that is passed when running a scheme's action

Properties

value

swift
public var value: String

The value of the environment variable

isEnabled

swift
public var isEnabled: Bool

Whether the variable is enabled or not

Methods

init(value:isEnabled:)

swift
public init(value: String, isEnabled: Bool)

init(stringLiteral:)

swift
public init(stringLiteral value: String)

Parameters

NameDescription
valueThe value of the new instance.