mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2024-11-22 22:07:59 +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;
|
||
|
}
|
||
|
}
|
||
|
}
|