Documentation ¶
Overview ¶
Package contains provides the "contains" function for slices of basic types.
Version 1.0.0.
Index ¶
- func Bool(list []bool, key bool) bool
- func Byte(list []byte, key byte) bool
- func Complex128(list []complex128, key complex128) bool
- func Complex64(list []complex64, key complex64) bool
- func Error(list []error, key error) bool
- func Float32(list []float32, key float32) bool
- func Float64(list []float64, key float64) bool
- func Int(list []int, key int) bool
- func Int16(list []int16, key int16) bool
- func Int32(list []int32, key int32) bool
- func Int64(list []int64, key int64) bool
- func Int8(list []int8, key int8) bool
- func Interface(list []interface{}, key interface{}) bool
- func Pointer(list []unsafe.Pointer, key unsafe.Pointer) bool
- func Rune(list []rune, key rune) bool
- func String(list []string, key string) bool
- func UInt(list []uint, key uint) bool
- func UInt16(list []uint16, key uint16) bool
- func UInt32(list []uint32, key uint32) bool
- func UInt64(list []uint64, key uint64) bool
- func UInt8(list []uint8, key uint8) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Complex128 ¶
func Complex128(list []complex128, key complex128) bool
Complex128 returns true, if list contains key.
func Interface ¶
func Interface(list []interface{}, key interface{}) bool
Interface returns true, if list contains key.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.