@bodil/opt
    Preparing search index...

      @bodil/opt - v1.0.0

      Interfaces

      Option

      A nullable value of type A.

      Result

      A value which can be of either type A or type E.

      Type Aliases

      ErrType

      Extract the type of the error value from a Result type.

      OkType

      Extract the type of the success value from a Result type.

      SomeType

      Extract the value type from an Option type.

      Variables

      None

      An empty Option.

      Option

      Static methods on the Option object.

      Result

      Static methods on the Result object.

      Functions

      Err

      Construct a Result with an error value of E.

      Ok

      Construct a Result with a success value of A.

      Some

      Construct an Option containing the provided value.