bounds function
Returns a geometry which represents the bounding box of an input geometry. Calculations are in the Spatial Reference System of this Geometry.
Syntax
bounds(geom)
Arguments
geom → a geometry
Example
bounds($geometry) → returns bounding box of $geometry