What does Phaser.Display.Bounds.GetBounds() return?

According to the api it returns a Phaser.Geom.Rectangle, which provides a contains method.

However, this code:

Phaser.Display.Bounds.GetBounds(polygon).contains(x, y)

yields this error:

Uncaught TypeError: Phaser.Display.Bounds.GetBounds(...).contains is not a function

Why?

It returns a Rectangle only if you pass one as output. A little confusing, I know.