mirror of
https://github.com/AssetRipper/Cpp2IL.git
synced 2026-11-13 04:26:33 -10:00
12 lines
211 B
C#
12 lines
211 B
C#
using System;
|
|
|
|
namespace Cpp2IL.Core.Extensions;
|
|
|
|
internal static class ArrayExtensions
|
|
{
|
|
public static bool Contains<T>(this T[] array, T item)
|
|
{
|
|
return Array.IndexOf(array, item) >= 0;
|
|
}
|
|
}
|