Modifier: is_blank
Returns true
if the string contains only whitespace chars.
ghost:
zombie: BRAINSSSS
{{ if ghost | is_blank }}
{{ if zombie | is_blank }}
true
false
Additional Reading
Learn how to use and chain modifiers in the Antlers template guide.