sliceutils

package
v0.0.46 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendIfNotContains added in v0.0.36

func AppendIfNotContains[T comparable](s []T, v T) []T

func Contains added in v0.0.17

func Contains[T comparable](s []T, v T) bool

func Subtract added in v0.0.17

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

Subtract returns a slice containing all elements of a that are not in b.

Types

This section is empty.

Jump to

Keyboard shortcuts

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