Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InArray ¶
func InArray[T comparable](element T, collection []T) bool
InArray 将在数组中搜索任意类型的元素,返回匹配元素的布尔值。 element 是要搜索的元素,collection 是要搜索的值的切片。 DEPRECATED: https://github.com/samber/lo?tab=readme-ov-file#contains
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.