Typed
public protocol Typed
Descibes typed declaration, i.e. variable, method parameter, tuple element, enum case associated value
-
Type, if known
Declaration
Swift
var type: Type? { get }
-
Type name
Declaration
Swift
var typeName: TypeName { get }
-
Whether type is optional
Declaration
Swift
var isOptional: Bool { get }
-
Whether type is implicitly unwrapped optional
Declaration
Swift
var isImplicitlyUnwrappedOptional: Bool { get }
-
Type name without attributes and optional type information
Declaration
Swift
var unwrappedTypeName: String { get }