AlphaTab.Platform.Std.IsStringNumber C# (CSharp) Method

IsStringNumber() public static method

public static IsStringNumber ( string s, bool allowSign = true ) : bool
s string
allowSign bool
return bool
        public static bool IsStringNumber(string s, bool allowSign = true)
        {
            if (s.Length == 0) return false;
            var c = s[0];
            return IsCharNumber(c, allowSign);
        }