OfType
public struct OfType<T> : PropertyTypeSpec where T : Equatable
Specifies that a Property
has type T
.
Internally used by Swindler. You should not use this directly.
-
Undocumented
Declaration
Swift
public typealias NonOptionalType = T
-
Declaration
Swift
public typealias PropertyType = T
-
Undocumented
Declaration
Swift
public static func equal(_ lhs: T, _ rhs: T) -> Bool
-
Undocumented
Declaration
Swift
public static func toPropertyType(_ from: T?) throws -> T
-
Undocumented
Declaration
Swift
public static func toOptionalType(_ from: T) -> T?