Gets the type of container.
The type indicates if it can only have one child or if it can have multiple children.