# Microsoft.AspNetCore.Components.RouteAttribute.IsUrl

```csharp
bool IsUrl(string url)
```

True if this matches the passed in url.
Queries are trimmed and ignored `( ?query=fff )`
Variables are tested (but not type matched or anything)

### Parameters

- `url` (`string`)

### Returns

`bool`

Declared in [Microsoft.AspNetCore.Components.RouteAttribute](/api/Microsoft.AspNetCore.Components.RouteAttribute).
Assembly: `Sandbox.Engine`.
