Most any bike with throttle will also have pedal so Both.
Numerous bikes will have throttle over-ride meaning regardless of your assist level chosen, torque or cadence sensor, you can hit the throttle for more.
The best I've ridden is the Pedego Ridge Rider. Going up a steep grade if I am in maximum cadence assist or maximum torque assist, if I'm going under 20 mph, the throttle will still give me more. But the Ridge Rider has a very strong 500 watt engine - like night and day compared to my very capable Raleigh Detour that also has throttle assist.