I'm working on an app that pulls data from an API I get a JSON object that looks like this:
[
  {
    "word": "run",
    "phonetics": [
      
    ],
    "meanings": [
      {
        ..
      },
      {
        "partOfSpeech": "noun",
        "definitions": [
          {
            "definition": "act or instance of running, of moving rapidly using the feet.",
            "synonyms": [
              
            ],
            "antonyms": [
              
            ],
            "example": "I just got back from my morning run."
          },
          {
            ..
          }
        ],
        "synonyms": [
          
        ],
        "antonyms": [
          
        ]
      },
      {
        ..
      },
      {
        ..
      }
    ],
    "license": {
      ..
    },
    "sourceUrls": [
      
    ]
  }
]
I've cut out the majority of the data that makes this too big to deal with but the main issue I'm having is every time there's a rerender I get different data which is what I want but sometimes the property that I'm looking for won't be there for example "audio" which is deeply nested in phonetics the problem I'm having is that I want to check if the property exists in the object before looking for it so I don't get an error of undefined
 
    