"when" Field Property in Blueprints

I noticed the when field property used in panel blueprints for conditions when the field will be shown Text | Kirby CMS can someone please give an example of how it works?

https://getkirby.com/docs/guide/blueprints/fields#conditional-fields