Initial work on implementing Pokemon
This commit is contained in:
1 parent
3d5fb1a818
commit
554e1cf2cd
15 files changed
+603
-30
No files matched your search
@@ -0,0 +1,7 @@
|
||||
namespace PkmnLib.Static.Utils;
|
||||
|
||||
public static class EnumerableHelpers
|
||||
{
|
||||
public static IEnumerable<T> WhereNotNull<T>(this IEnumerable<T?> enumerable) where T : class =>
|
||||
enumerable.Where(x => x is not null)!;
|
||||
}
|
||||
Reference in new issue
Block a user