> **Can't find what you're looking for?** Use `search_docs` on the docs MCP server at `https://v3.viem.sh/api/mcp` to find what you need.

# Siwe.isUri

:::info
`Siwe.isUri` is a re-export of ox's [`Siwe.isUri`](https://oxlib.sh/api/Siwe/isUri). Refer to the ox documentation for the full reference.
:::

Check if the given URI is a valid [RFC 3986](https://www.rfc-editor.org/rfc/rfc3986) URI.

## Imports

```ts
import { Siwe } from 'viem/utils'
```

## Examples

```ts twoslash
// @noErrors
import { Siwe } from 'viem/utils'

Siwe.isUri('https://example.com/foo')
// @log: true
```

## Definition

```ts
function isUri(
  value: string,
): false | string
```

## Parameters

### value

* **Type:** `string`

Value to check.

## Return Type

`false` if invalid, otherwise the valid URI.

`false | string`
