generic

package
v0.0.30 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: MIT Imports: 0 Imported by: 44

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EqualsAll

func EqualsAll[T comparable](base T, all ...T) bool

EqualsAll checks if a base value of type T is equal to all of the other values of type T provided as arguments.

func EqualsAny

func EqualsAny[T comparable](base T, all ...T) bool

EqualsAny checks if a base value of type T is equal to any of the other values of type T provided as arguments.

Types

This section is empty.

Jump to

Keyboard shortcuts

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