# Siwe.isUri

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

## Imports

:::code-group
```ts [Named]
import { Siwe } from 'ox'
```

```ts [Entrypoint]
import * as Siwe from 'ox/Siwe'
```
:::

## Examples

```ts twoslash
import { Siwe } from 'ox'

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

## Definition

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

**Source:** [src/core/Siwe.ts](https://github.com/wevm/ox/blob/main/src/core/Siwe.ts#L513)

## Parameters

### value

* **Type:** `string`

Value to check.

## Return Type

`false` if invalid, otherwise the valid URI.

`false | string`
