How does set_in_bounds work?

Why does set_in_bounds take an obj parameter? What’s the typical use case look like?

It would be nice to go:

my_object.param['my_param'].set_in_bounds(42)

Not clear from the documentation:
https://param.holoviz.org/reference.html#param.__init__.Number.set_in_bounds