Skip to content Skip to footer navigation
🏰 Statamic Summit 2027 Feb 16–19 Talks, workshops, and three nights in a German castle. Get Tickets

Is Uppercase Modifier

Returns true if string is only uppercase characters.

declaration: NOISES
cite: anonymous
{{ if declaration | is_uppercase }}
{{ if cite | is_uppercase }}
@if (Statamic::modify($declaration)->isUppercase()->fetch()) ... @endif
@if (Statamic::modify($cite)->isUppercase()->fetch()) ... @endif
true
false