Documentation
¶
Overview ¶
Package contains provides the "contains" function for slices of basic types.
Index ¶
- func Bool(list []bool, value bool) bool
- func BoolD2(list [][]bool, value bool) bool
- func BoolD3(list [][][]bool, value bool) bool
- func BoolD4(list [][][][]bool, value bool) bool
- func BoolD5(list [][][][][]bool, value bool) bool
- func Byte(list []byte, value byte) bool
- func ByteD2(list [][]byte, value byte) bool
- func ByteD3(list [][][]byte, value byte) bool
- func ByteD4(list [][][][]byte, value byte) bool
- func ByteD5(list [][][][][]byte, value byte) bool
- func Bytes(list []byte, sequence []byte) bool
- func Bytes2D(list [][]byte, sequence []byte) bool
- func Bytes3D(list [][][]byte, sequence []byte) bool
- func Bytes4D(list [][][][]byte, sequence []byte) bool
- func Bytes5D(list [][][][][]byte, sequence []byte) bool
- func Complex128(list []complex128, value complex128) bool
- func Complex128D2(list [][]complex128, value complex128) bool
- func Complex128D3(list [][][]complex128, value complex128) bool
- func Complex128D4(list [][][][]complex128, value complex128) bool
- func Complex128D5(list [][][][][]complex128, value complex128) bool
- func Complex64(list []complex64, value complex64) bool
- func Complex64D2(list [][]complex64, value complex64) bool
- func Complex64D3(list [][][]complex64, value complex64) bool
- func Complex64D4(list [][][][]complex64, value complex64) bool
- func Complex64D5(list [][][][][]complex64, value complex64) bool
- func Error(list []error, value error) bool
- func ErrorD2(list [][]error, value error) bool
- func ErrorD3(list [][][]error, value error) bool
- func ErrorD4(list [][][][]error, value error) bool
- func ErrorD5(list [][][][][]error, value error) bool
- func Float32(list []float32, value float32) bool
- func Float32D2(list [][]float32, value float32) bool
- func Float32D3(list [][][]float32, value float32) bool
- func Float32D4(list [][][][]float32, value float32) bool
- func Float32D5(list [][][][][]float32, value float32) bool
- func Float64(list []float64, value float64) bool
- func Float64D2(list [][]float64, value float64) bool
- func Float64D3(list [][][]float64, value float64) bool
- func Float64D4(list [][][][]float64, value float64) bool
- func Float64D5(list [][][][][]float64, value float64) bool
- func Int(list []int, value int) bool
- func Int16(list []int16, value int16) bool
- func Int16D2(list [][]int16, value int16) bool
- func Int16D3(list [][][]int16, value int16) bool
- func Int16D4(list [][][][]int16, value int16) bool
- func Int16D5(list [][][][][]int16, value int16) bool
- func Int32(list []int32, value int32) bool
- func Int32D2(list [][]int32, value int32) bool
- func Int32D3(list [][][]int32, value int32) bool
- func Int32D4(list [][][][]int32, value int32) bool
- func Int32D5(list [][][][][]int32, value int32) bool
- func Int64(list []int64, value int64) bool
- func Int64D2(list [][]int64, value int64) bool
- func Int64D3(list [][][]int64, value int64) bool
- func Int64D4(list [][][][]int64, value int64) bool
- func Int64D5(list [][][][][]int64, value int64) bool
- func Int8(list []int8, value int8) bool
- func Int8D2(list [][]int8, value int8) bool
- func Int8D3(list [][][]int8, value int8) bool
- func Int8D4(list [][][][]int8, value int8) bool
- func Int8D5(list [][][][][]int8, value int8) bool
- func IntD2(list [][]int, value int) bool
- func IntD3(list [][][]int, value int) bool
- func IntD4(list [][][][]int, value int) bool
- func IntD5(list [][][][][]int, value int) bool
- func Interface(list []interface{}, value interface{}) bool
- func InterfaceD2(list [][]interface{}, value interface{}) bool
- func InterfaceD3(list [][][]interface{}, value interface{}) bool
- func InterfaceD4(list [][][][]interface{}, value interface{}) bool
- func InterfaceD5(list [][][][][]interface{}, value interface{}) bool
- func Pointer(list []unsafe.Pointer, value unsafe.Pointer) bool
- func PointerD2(list [][]unsafe.Pointer, value unsafe.Pointer) bool
- func PointerD3(list [][][]unsafe.Pointer, value unsafe.Pointer) bool
- func PointerD4(list [][][][]unsafe.Pointer, value unsafe.Pointer) bool
- func PointerD5(list [][][][][]unsafe.Pointer, value unsafe.Pointer) bool
- func Rune(list []rune, value rune) bool
- func RuneD2(list [][]rune, value rune) bool
- func RuneD3(list [][][]rune, value rune) bool
- func RuneD4(list [][][][]rune, value rune) bool
- func RuneD5(list [][][][][]rune, value rune) bool
- func String(list []string, value string) bool
- func StringD2(list [][]string, value string) bool
- func StringD3(list [][][]string, value string) bool
- func StringD4(list [][][][]string, value string) bool
- func StringD5(list [][][][][]string, value string) bool
- func UInt(list []uint, value uint) bool
- func UInt16(list []uint16, value uint16) bool
- func UInt16D2(list [][]uint16, value uint16) bool
- func UInt16D3(list [][][]uint16, value uint16) bool
- func UInt16D4(list [][][][]uint16, value uint16) bool
- func UInt16D5(list [][][][][]uint16, value uint16) bool
- func UInt32(list []uint32, value uint32) bool
- func UInt32D2(list [][]uint32, value uint32) bool
- func UInt32D3(list [][][]uint32, value uint32) bool
- func UInt32D4(list [][][][]uint32, value uint32) bool
- func UInt32D5(list [][][][][]uint32, value uint32) bool
- func UInt64(list []uint64, value uint64) bool
- func UInt64D2(list [][]uint64, value uint64) bool
- func UInt64D3(list [][][]uint64, value uint64) bool
- func UInt64D4(list [][][][]uint64, value uint64) bool
- func UInt64D5(list [][][][][]uint64, value uint64) bool
- func UInt8(list []uint8, value uint8) bool
- func UInt8D2(list [][]uint8, value uint8) bool
- func UInt8D3(list [][][]uint8, value uint8) bool
- func UInt8D4(list [][][][]uint8, value uint8) bool
- func UInt8D5(list [][][][][]uint8, value uint8) bool
- func UIntD2(list [][]uint, value uint) bool
- func UIntD3(list [][][]uint, value uint) bool
- func UIntD4(list [][][][]uint, value uint) bool
- func UIntD5(list [][][][][]uint, value uint) bool
- func UIntPtr(list []uintptr, value uintptr) bool
- func UIntPtrD2(list [][]uintptr, value uintptr) bool
- func UIntPtrD3(list [][][]uintptr, value uintptr) bool
- func UIntPtrD4(list [][][][]uintptr, value uintptr) bool
- func UIntPtrD5(list [][][][][]uintptr, value uintptr) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bytes ¶
Bytes returns true, if list contains sequence. (Same as standard function bytes.Contains.)
func Complex128 ¶
func Complex128(list []complex128, value complex128) bool
Complex128 returns true, if list contains value.
func Complex128D2 ¶
func Complex128D2(list [][]complex128, value complex128) bool
Complex128D2 returns true, if list contains value.
func Complex128D3 ¶
func Complex128D3(list [][][]complex128, value complex128) bool
Complex128D3 returns true, if list contains value.
func Complex128D4 ¶
func Complex128D4(list [][][][]complex128, value complex128) bool
Complex128D4 returns true, if list contains value.
func Complex128D5 ¶
func Complex128D5(list [][][][][]complex128, value complex128) bool
Complex128D5 returns true, if list contains value.
func Complex64D2 ¶
Complex64D2 returns true, if list contains value.
func Complex64D3 ¶
Complex64D3 returns true, if list contains value.
func Complex64D4 ¶
Complex64D4 returns true, if list contains value.
func Complex64D5 ¶
Complex64D5 returns true, if list contains value.
func Interface ¶
func Interface(list []interface{}, value interface{}) bool
Interface returns true, if list contains value.
func InterfaceD2 ¶
func InterfaceD2(list [][]interface{}, value interface{}) bool
InterfaceD2 returns true, if list contains value.
func InterfaceD3 ¶
func InterfaceD3(list [][][]interface{}, value interface{}) bool
InterfaceD3 returns true, if list contains value.
func InterfaceD4 ¶
func InterfaceD4(list [][][][]interface{}, value interface{}) bool
InterfaceD4 returns true, if list contains value.
func InterfaceD5 ¶
func InterfaceD5(list [][][][][]interface{}, value interface{}) bool
InterfaceD5 returns true, if list contains value.
Types ¶
This section is empty.