Check current input system

Hi, I have an old asset which is using unity’s old input system (UnityEngine.Input). I wonder, how do I check what input system I’m using in my project from script. As I see, there’s no preprocessor directive for new input system so maybe I’m missing something. Thanks.

I think this might be what you are looking for: ENABLE_INPUT_SYSTEM

Mentioned under “Enabling the new input system”
https://docs.unity3d.com/Packages/com.unity.inputsystem@1.0/manual/Installation.html