I have this array:

```
var arr = [['blue','143'], ['red', '256'], ['white', '321']];

```

Now I need to check `red` is exist in the `0` index of nested array?

---

There is a method in JQuery `$.inArray(value, array)` which can be fine in this case. But I don't know how use it to just search in this items:

```
var arr = [['blue','143'], ['red', '256'], ['white', '321']];
// these       ^              ^                ^

```

How can I do that?

---

I want this:

```
var word = 'red';    // true
var word = 'black';  // false
var word = 'blue';   // true
var word = 'afwqwe'; // false

```