Contains<T>(T[], T)
Determines if the array contains the item.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
Contains<T>(`<>[], T)
public static bool Contains<T>(T[] array, T item)
Parameters
Returns
Type | Description |
|---|---|
| bool | True if item is in array, false otherwise. |