Does Container have children?

I’m trying this code:
const container = this.add.container();
const bounds = container.getBounds();

and getting:
children[0].getBounds is not a function

Inspecting container shows it has no children collection, it does have a list collection. Is this a bug or am I misunderstanding something?

That should work without an error. Make sure you’re using the latest Phaser.