Skip to content

번역

이 페이지를 번역하거나 기존 번역을 개선할 수 있습니다.

기여

STRUCT

EnvironmentVariable

Contents

  • Properties
    • value
    • isEnabled
  • Methods
    • environmentVariable(value:isEnabled:)
    • init(stringLiteral:)
swift
public struct EnvironmentVariable: Equatable, Codable, Hashable, ExpressibleByStringLiteral, Sendable

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

environmentVariable(value:isEnabled:)

swift
public static func environmentVariable(value: String, isEnabled: Bool) -> Self

init(stringLiteral:)

swift
public init(stringLiteral value: String)

Parameters

NameDescription
valueThe value of the new instance.

Released under the MIT License.