BooleanLaunchArgumentValue

public enum BooleanLaunchArgumentValue : Int, ExpressibleByBooleanLiteral, LaunchArgumentValue, Equatable

Represents launch argument value of type Bool.

  • Value of true, or 1.

    Declaration

    Swift

    case `true` = 1
  • Value of false, or 0.

    Declaration

    Swift

    case `false` = 0
  • Initializes boolean launch argument with boolean literal type.

    Declaration

    Swift

    public init(booleanLiteral value: BooleanLiteralType)

    Parameters

    value

    Literal to use during initialization.