Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ IndexInRange< T >() [1/2]

static bool Terraria.Utils.IndexInRange< T > ( this List< T > t,
int index )
inlinestatic

Definition at line 1843 of file Utils.cs.

1844 {
1845 if (index >= 0)
1846 {
1847 return index < t.Count;
1848 }
1849 return false;
1850 }

References System.Collections.Generic.Dictionary< TKey, TValue >.Count, and System.Linq.index.