Alexandria.Engines.GoldBox.Resources.Script.IsIdentifier C# (CSharp) Méthode

IsIdentifier() static private méthode

static private IsIdentifier ( string text, int index ) : bool
text string
index int
Résultat bool
        static bool IsIdentifier(string text, int index)
        {
            if (index < 0 || index >= text.Length)
                return false;
            return char.IsLetterOrDigit(text[index]);
        }