filter

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: May 5, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package filter provides helpers for filtering keys or values of a map

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Key

func Key[V, K any](predicate func(K) bool) (out func(K, V) bool)

Key adapts a key appliable predicate to a key\value one

func Value

func Value[K, V any](predicate func(V) bool) (out func(K, V) bool)

Value adapts a value appliable predicate to a key\value one

Types

This section is empty.

Jump to

Keyboard shortcuts

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