sliceutils

package
v0.5.6 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2025 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Overview

Package sliceutils provides utility functions for slices.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Difference

func Difference[T comparable](a, b []T) []T

Difference returns a slice with the elements that are in a but not in b.

func Intersection

func Intersection[T comparable](a, b []T) []T

Intersection returns a slice with the elements that are in both a and b.

Types

This section is empty.

Jump to

Keyboard shortcuts

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