I am using Jevnets for Joomla and i am trying to check events for category ids, so i can use this codition: (if $catID == "234"

I am using this code:
$catID = array($this->event->catids());
But it only returns the first level 1 category and its sublings when I print it:
print_r(array_values($catID))
Example
Event is in category 1, 1.1, 1.2, 2 and 2.1
But it only echos 1, 1.1, 1.2, not 2 and 2.1
How can this be?
Regards,
Kenneth.