This should be:

```js
if(info && info[0] && info[0][idColName])
// or
var idValue = info && info[0] && info[0][idColName];
```