Method Contains
Contains<T, U>(NativeList<T>, U)
Returns true if a particular value is present in this list.
Declaration
public static bool Contains<T, U>(this NativeList<T> list, U value) where T : unmanaged, IEquatable<U>
Parameters
| Type | Name | Description | 
|---|---|---|
| NativeList<T> | list | The list to search.  | 
    
| U | value | The value to locate.  | 
    
Returns
| Type | Description | 
|---|---|
| bool | True if the value is present in this list.  | 
    
Type Parameters
| Name | Description | 
|---|---|
| T | The type of elements in this list.  | 
    
| U | The value type.  |