diff --git a/array.go b/array.go index 0bfc59c..91c751b 100644 --- a/array.go +++ b/array.go @@ -67,3 +67,12 @@ func (a *array) In(search interface{}, source interface{}) int { } return -1 } + +// InAny In 函数的简化写法 +// +// Author : go_developer@163.com<白茶清欢> +// +// Date : 16:25 2023/3/30 +func (a *array) InAny(search interface{}, source ...interface{}) int { + return a.In(search, source) +}