I have object with several properties, says it\'s something like this
{ a: \"\", b: undefined }
in jsx is there any one line solution I can
You can use lodash _.every and check if _.values are _.isEmpty
_.every
_.values
_.isEmpty
const profile = { name: 'John', age: '' }; const emptyProfile = _.values(profile).every(_.isEmpty); console.log(emptyProfile); // returns false