Optional
Initializers
public init(withValue: Type)Creates an optional with a value. Use the syntax to create an optional rather than the constructor as this is an implementation detail.
Static Methods
public static func ==(lhs: Optional<Type>, rhs: Optional<Type>) -> BoolComparison overloads for optionals where T implements equatable. If you wish to check for nil otherwise you can use the
===operator which checks reference equality. Internally, all VSLnilinstances stem from the same value