react se event.Target é entrada

if (event.target instanceof HTMLInputElement)
Magnificent Mole