iter

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package iter provides common iterators.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All[T any](slices ...[]T) func(yield func(T) bool)

All iterates over the element of multiple slices.

func Filter

func Filter[T any](f func(T) bool, slices ...[]T) func(yield func(T) bool)

Filter iterates over the element of multiple slices and excludes elements for which the filter returns false.

Types

This section is empty.

Jump to

Keyboard shortcuts

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