fp

package
v1.0.51 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 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[T1, T2 any](f func(T1, T2) T1, initial T1, values []T2) T1

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