mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2024-11-25 23:17:58 +01:00
14 lines
337 B
C#
14 lines
337 B
C#
|
// Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
|
||
|
// GameDataEditor.ArrayExtensions
|
||
|
using System;
|
||
|
|
||
|
namespace GameDataEditor
|
||
|
{
|
||
|
public static class ArrayExtensions
|
||
|
{
|
||
|
public static bool IsValidIndex(this Array variable, int index)
|
||
|
{
|
||
|
return index > -1 && variable != null && index < variable.Length;
|
||
|
}
|
||
|
}
|
||
|
}
|