1
0
mirror of synced 2024-12-18 04:45:55 +01:00
TaikoSoundEditor/Extensions/IntExtensions.cs
2023-07-28 22:28:05 +03:00

8 lines
187 B
C#

namespace TaikoSoundEditor.Extensions
{
internal static class IntExtensions
{
public static int Clamp(this int x, int a, int b) => x <= a ? a : x >= b ? b : x;
}
}