Operator '||' cannot be applied to operands of type 'bool' and 'UnityEngine.RuntimePlatform'

Hey, converting some JS code to C#. What gives here?

else if (Application.platform == RuntimePlatform.WindowsEditor || RuntimePlatform.WindowsPlayer) { //error hits here
			
			horizontal = Input.GetAxis("Horizontal");
			throttle = Input.GetAxis("Vertical");
		}

You’re misusing the ‘||’ operator.
It’s supposed to be used like this:

else if (Application.platform == RuntimePlatform.WindowsEditor || Application.platform == RuntimePlatform.WindowsPlayer) { 
    horizontal = Input.GetAxis("Horizontal");
    throttle = Input.GetAxis("Vertical");
}