fix build (again)
This commit is contained in:
1 parent
b97dbd9af9
commit
a2cc5ae1b0
1 file changed
+8
@@ -0,0 +1,8 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace bts.collections {
|
||||
public static class CollectionExtensions {
|
||||
public static bool check_index<T>(this ICollection<T> collection, int index) =>
|
||||
index >= 0 && index < collection.Count;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user