option

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2025 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AndThen

func AndThen[T, U any](in generics.Option[T], f func(in T) (out generics.Option[U])) (out generics.Option[U])

func FromPtr added in v0.0.2

func FromPtr[T any](in *T) (_ generics.Option[T])

func Map

func Map[T, U any](f func(from T) (to U), in generics.Option[T]) (out generics.Option[U])

Types

This section is empty.

Jump to

Keyboard shortcuts

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