ConditionTextOperand

public enum ConditionTextOperand
extension ConditionTextOperand: ExpressibleByStringLiteral
extension ConditionTextOperand: ExpressibleByStringInterpolation
extension ConditionTextOperand: ConditionTextOperandConvertible

An operand for a Condition that can represent a Text value.

  • A text operand.

    Declaration

    Swift

    case text(Text)
  • Creates an instance initialized to the given string value.

    Attention

    Do not call this initializer directly. Instead, initialize a variable or constant using a string literal.

    Declaration

    Swift

    public init(stringLiteral value: String)

    Parameters

    value

    The value of the new instance.

  • Creates an instance from a string interpolation.

    Attention

    Do not call this initializer directly. Instead, initialize a variable or constant using an interpolated string literal.

    Declaration

    Swift

    public init(stringInterpolation: Text.StringInterpolation)

    Parameters

    stringInterpolation

    An instance of StringInterpolation which has had each segment of the string literal appended to it.

  • A text operand that represents this value.

    Declaration

    Swift

    public var conditionTextOperand: ConditionTextOperand { get }