Returns true
if a string is a valid URL.
a_url: http://google.com/
not_a_url: waffles
{{ if a_url | is_url }}
{{ if not_a_url | is_url }}
true
false
is_url
ModifierReturns true
if a string is a valid URL.
a_url: http://google.com/
not_a_url: waffles
{{ if a_url | is_url }}
{{ if not_a_url | is_url }}
true
false
Submit improvements, related content, or suggestions through Github.
Betterify this page →