contains

package
v0.0.0-...-cb9cbce Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(arr interface{}, item interface{}) bool

判断数组arr是否包含item元素

func ContainsUint

func ContainsUint(arr []uint, item uint) bool

判断uint数组是否包含item元素

func ContainsUintIndex

func ContainsUintIndex(arr []uint, item uint) int

判断uint数组是否包含item元素, 返回index

Types

This section is empty.

Jump to

Keyboard shortcuts

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