ArrayUtility.FindIndex

public static int FindIndex(T[] array, Predicate<T> match);

Returns

int The zero-based index of the first occurrence of the element, if found; otherwise, �1.

Description

Find the index of the first element that satisfies the predicate.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答