equally well with either
— actually, equally
poorly
with either, since light behaved in wave-like ways that particles never behaved in, and light also was incontrovertibly particulate in ways that waves were not known to demonstrate.