filter

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2025 License: MIT Imports: 1 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 Keys added in v0.0.11

func Keys[M ~map[K]V, K comparable, V any](m M, filter func(K) bool) map[K]V

Keys an alias of the map_.FilterKeys.

func Values added in v0.0.11

func Values[M ~map[K]V, K comparable, V any](m M, filter func(V) bool) map[K]V

Values an alias of the map_.FilterValues.

Types

This section is empty.

Jump to

Keyboard shortcuts

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