fp

package
v1.0.40 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Map

func Map[T1, T2 any](f func(T1) T2, values []T1) []T2

func Reduce

func Reduce[T any](f func(T, T) T, initial T, values []T) T

func Where

func Where[T any](f func(T) bool, values []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