LastOption

public final class LastOption<A>

Wrapper class to represent a constant present last option.

  • Undocumented

    Declaration

    Swift

    public let const: Const<Option<A>, Last>
  • 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>