Hi I am wondering how I can check a length of a response which is not an array of objects? Can't really shot an example because I don't know how exactly it works in backed I mean I'm looping through an object in a game (which is a battle) and it prints all enemies. But i am getting response with separated objects, not an array of objects. So my response looks like:
{name: "Mike", lvl: 169, team: 1, …}
{name: "Mike2", lvl: 120, team: 1, …}
But not an array of these objects. So I don't really know how I can check what length it is, if it's not an array of objects...