Get_host_group function

I found out how to view the details of objects with “icinga console”.

<11> => get_host_group("testgruppe")

I dont see an array of hosts there, I guess this is part of the problem.
And of course the function gets the whole object not only a variable of it.