BalloonsPop.Validation.UserInputValidator.HasCorrectLength C# (CSharp) Метод

HasCorrectLength() приватный статический Метод

Returns true if the player move has the appropriate length.
private static HasCorrectLength ( string playerMove ) : bool
playerMove string The player move as string.
Результат bool
        private static bool HasCorrectLength(string playerMove)
        {
            return playerMove.Length == ValidInputLength;
        }