AlphaTab.Platform.Std.IsCharNumber C# (CSharp) Méthode

IsCharNumber() public static méthode

public static IsCharNumber ( int c, bool allowSign = true ) : bool
c int
allowSign bool
Résultat bool
        public static bool IsCharNumber(int c, bool allowSign = true)
        {
            return (allowSign && c == 0x2D) || (c >= 0x30 && c <= 0x39);
        }