Check typeof second arg