$field->upper()

Converts the field content to uppercase

  • return (string)
<h1><?= $page->title()->upper()->html() ?></h1>