# Is Url

Returns `true` if a string is a valid URL.

```yaml
a_url: http://google.com/
not_a_url: waffles
```

::tabs

::tab antlers
```antlers
{{ if a_url | is_url }}
{{ if not_a_url | is_url }}
```
::tab blade
```blade
@if (Statamic::modify($a_url)->isUrl()->fetch()) ... @endif
@if (Statamic::modify($not_a_url)->isUrl()->fetch()) ... @endif
```
::

```html
true
false
```


