FindIndex<T>(T[], Predicate<T>)
Find the index of the first element that satisfies the predicate.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
FindIndex<T>(`<>[], Predicate<T>)
public static int FindIndex<T>(T[] array, Predicate<T> match)
Parameters
Returns
Type | Description |
|---|---|
| int | The zero-based index of the first occurrence of the element, if found; otherwise, �1. |