Returns true
if variable is a number or numeric string.
sequence: 4815162342another_sequence: just type 4 8 15 16 23 42yaml
{{ if sequence | is_numeric }}{{ if another_sequence | is_numeric }}antlers
truefalsehtml
is_numeric
ModifierReturns true
if variable is a number or numeric string.
sequence: 4815162342another_sequence: just type 4 8 15 16 23 42yaml
{{ if sequence | is_numeric }}{{ if another_sequence | is_numeric }}antlers
truefalsehtml
Submit improvements, related content, or suggestions through Github.
Betterify this page →