mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2024-11-29 00:27:59 +01:00
14 lines
No EOL
337 B
C#
14 lines
No EOL
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;
|
|
}
|
|
}
|
|
} |