Summary
If the `index` is within the `list`,
this method outputs the `item` at that `index` and returns true.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- AnimancerUtilities
Syntax
public static bool TryGet<T>(this IList<T> list, int index, out T item)
Type Parameters
Name | Description |
---|---|
T |
Parameters
Name | Type | Description |
---|---|---|
list | IList |
|
index | int | |
item | T |
Return Value
Type | Description |
---|---|
bool |