slice

package
v0.0.0-...-31a4683 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains[T Primitive](value T, slice *[]T) bool

func IsContainsDuplicateValue

func IsContainsDuplicateValue[T Comparable](arr *[]T) bool

Types

type Comparable

type Comparable interface {
	constraints.Ordered | rune | string
}

type Primitive

type Primitive interface {
	string | int
}

Jump to

Keyboard shortcuts

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