DEV Community

Discussion on: Check if an object is empty

 
pentacular profile image
pentacular

l don't think that makes sense.

When validating you would want to check the requirements for that form, not that it was an empty object.