Text
public struct Text : Hashableextension Text: Shortcutextension Text: ConditionOperandConvertibleextension Text: ConditionTextOperandConvertibleextension Text: ExpressibleByStringInterpolationextension Text: EncodableA representation of one or more lines of text that can be used in shortcuts.
- 
                  
                  Creates a text shortcut that represents a stored string without variables. DeclarationSwift public init(_ string: String)ParametersstringThe string value to store. 
- 
                  
                  The contents of the shortcut. DeclarationSwift public var body: some Shortcut { get }
- 
                  
                  An operand that represents this value. DeclarationSwift public var conditionOperand: ConditionOperand { get }
- 
                  
                  A text operand that represents this value. DeclarationSwift public var conditionTextOperand: ConditionTextOperand { get }
- 
                  
                  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. DeclarationSwift public init(stringLiteral value: String)ParametersvalueThe 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. DeclarationSwift public init(stringInterpolation: StringInterpolation)ParametersstringInterpolationAn instance of StringInterpolationwhich has had each segment of the string literal appended to it.
- 
                  
                  Encodes this value into the given encoder. Throws This function throws an error if any values are invalid for the given encoder’s format.DeclarationSwift public func encode(to encoder: Encoder) throwsParametersencoderThe encoder to write data to. 
 View on GitHub
View on GitHub Text Structure Reference
        Text Structure Reference