!== is unnecessary for typeof