SetType

@objcMembers
public final class SetType : NSObject, SourceryModel, Diffable
extension SetType: NSCoding

Describes set type

  • Type name used in declaration

    Declaration

    Swift

    public var name: String
  • Array element type name

    Declaration

    Swift

    public var elementTypeName: TypeName
  • Array element type, if known

    Declaration

    Swift

    public var elementType: Type?
  • Returns array as generic type

    Declaration

    Swift

    public var asGeneric: GenericType { get }
  • Declaration

    Swift

    public var asSource: String { get }
  • Declaration

    Swift

    public func diffAgainst(_ object: Any?) -> DiffableResult