LastOption
public final class LastOption<A>
Wrapper class to represent a constant present last option.
-
Initializes a constant first option.
Declaration
Swift
public init(_ value: A)
Parameters
value
Value to be wrapped.
-
Initializes a constant first option.
Declaration
Swift
public init(_ value: Option<A>)
Parameters
value
Option to be wrapped.
-
Declaration
Swift
public func combine(_ other: LastOption<A>) -> LastOption<A>
-
Declaration
Swift
public static func empty() -> LastOption<A>