Adding my folder

Do you need an "if" here or can you just use plain "else" to cover either a firstName or a lastName and then return firstName || lastName?