here i am stuck with the following chunk of code

```
self.isFiltered?[self.filteredCategories count]:[self.categories count]

```

here `isFiltered` is an bool, `filteredCategories` is a mutable array, categories is an array. This line return an integer. I don't understand what and how this line is working. Thanks