I think you could just write this as something like:

`elem || ""`