AlphaTab.Importer.AlphaTexImporter.IsDigit C# (CSharp) 메소드

IsDigit() 개인적인 메소드

Checks if the given character is a digit.
private IsDigit ( int code ) : bool
code int the character
리턴 bool
        private bool IsDigit(int code)
        {
            return (code >= 0x30 && code <= 0x39) || /*0-9*/
                    (code == 0x2D /* - */ && _allowNegatives); // allow - if negatives
        }