New Input System - how do I get what key is being pressed?

I don’t know if this has been asked before, but I started learning the new input system today. What I’m interested in knowing is how I would get the name of the key/button that is currently being pressed (Such as left and right for the horizontal inputs). Is there a way in the system that can be used to accomplish this?

https://forum.unity.com/threads/find-out-which-key-was-pressed.385250/ this may help. However, as the thread says its inefficient and just checking to see if a single key is pressed would be more efficient.
Cheers