"when" Field Property in Blueprints

I noticed the when field property used in panel blueprints for conditions when the field will be shown https://getkirby.com/docs/reference/panel/fields/text#field-properties can someone please give an example of how it works?

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