Expression
public struct Expression : Codable, CustomStringConvertible, EquatableAn Expression defines a formula for computing the value of any layout property, paint property,
or filter within a map style. Expressions allow you to style data with multiple feature
properties at once, apply conditional logic, and manipulate data with mathematical, logical, and
string operators. This allows for sophisticated runtime styling.
- 
                  
                  The operator of this expression If the expression starts with an argument instead of an operator then return the first operator of a contained expression if available. DeclarationSwift public var `operator`: Operator { get }
- 
                  
                  The arguments contained in this expression DeclarationSwift public var arguments: [Argument] { get }
- 
                  
                  Create an operator-only expression. DeclarationSwift public init(_ op: Operator)
- 
                  
                  Initialize an expression with only arguments DeclarationSwift public init(@ExpressionArgumentBuilder content: () -> [Expression.Argument])
- 
                  
                  Initialize an expression with only arguments DeclarationSwift public init(arguments: [Argument])
- 
                  
                  DeclarationSwift public func encode(to encoder: Encoder) throws
- 
                  
                  DeclarationSwift public var description: String { get }
- 
                  
                  DeclarationSwift public init(from decoder: Decoder) throws
- 
                  
                  An See moreExpressionElementcan be either aop(associated with aString) OR anargument(associated with anExpressionArgument)DeclarationSwift public indirect enum Element : Codable, CustomStringConvertible, Equatable
- 
                  
                  An See moreExpressionArgumentis either a literal (associated with a double, string, boolean, or null value) or anotherExpressionDeclarationSwift public indirect enum Argument : Codable, CustomStringConvertible, Equatable
- 
                  
                  Undocumented See moreDeclarationSwift enum Operator : String, Codable, CaseIterable
- 
                  
                  Undocumented See moreDeclarationSwift public enum Option : Codable, Equatable
 Expression Structure Reference
        Expression Structure Reference