ops

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UnwrapOption

func UnwrapOption[T any](o option.Option[T]) T

UnwrapOption may be used as an operation for iter.Map in order to unwrap all options in an iterator.

func UnwrapResult

func UnwrapResult[T any](r result.Result[T]) T

UnwrapResult may be used as an operation for iter.Map in order to unwrap all results in an iterator.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL