Use typeof instead of being an idiot.