elem === "" should work as well.