So my uploaded media file (event.target.files[0]) does not equal to true or false.
It has a typeof object
.
It's part of some form state and I'd like to check the object whether all fields are not empty ""
.
I thought a JS object should always === true, but maybe this is different for 'files' objects?