I have a scenario where I\'m passing data from a reducer into my react state.
data:
{ \"id\": 1, \"title\": \"Test\", \"content\": {
You can check undefined object using below code.
ReactObject === 'undefined'