mirror of
https://github.com/babalae/better-genshin-impact.git
synced 2026-04-06 11:55:31 +08:00
12 lines
214 B
C#
12 lines
214 B
C#
namespace BetterGenshinImpact.Helpers;
|
|
|
|
public class AssertUtils
|
|
{
|
|
public static void IsTrue(bool b, string msg)
|
|
{
|
|
if (!b)
|
|
{
|
|
throw new System.Exception(msg);
|
|
}
|
|
}
|
|
} |