1
0
mirror of synced 2025-02-25 22:38:02 +01:00
2023-10-01 19:40:41 +03:00

8 lines
195 B
C#

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