I came across this issue when refactoring a functionality to return an object instead of an array, but I forgot to update the return worth inside the if statement. I would not down vote but urge Devs to consider this rather then have null / vacant checks in the property https://affordablehousinggurugram.in/