OfOptionalType
public struct OfOptionalType<T> : PropertyTypeSpec where T : Equatable
Used to specify that a Property
has the 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?