opt

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func First

func First[T any]() consumer.Opt[T, T]

func Last

func Last[T any]() consumer.Opt[T, T]

func Max

func Max[T constraints.Ordered]() consumer.Opt[T, T]

func Min

func Min[T constraints.Ordered]() consumer.Opt[T, T]

func Nth

func Nth[T any](n int) consumer.Opt[T, T]

func Reduce1

func Reduce1[T any](f func(T, T) T) consumer.Opt[T, T]

Types

This section is empty.

Jump to

Keyboard shortcuts

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