How to get the container type of a container?

Doesn’t seem like there’s an alternative: