sliceutils

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendAndExtends

func AppendAndExtends[T any](slice []T, elems ...T) []T

func Contains

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

func RemoveIfContains

func RemoveIfContains[T comparable](elems []T, v T) []T

func Reverse

func Reverse[T comparable](s []T) []T

func ToInterfaceSlice

func ToInterfaceSlice(slice interface{}) []interface{}

Types

This section is empty.

Jump to

Keyboard shortcuts

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