AK.F1.Timing.Messages.Weather.SetWindAngleMessage.IsValidAngle C# (CSharp) Méthode

IsValidAngle() public static méthode

Returns a value indicating if the specified angle is valid.
public static IsValidAngle ( int angle ) : bool
angle int The angle to test.
Résultat bool
        public static bool IsValidAngle(int angle)
        {
            return angle >= 0 && angle <= 360;
        }