# Function: relayKind()

```ts
function relayKind(url): RelayKind | null;
```

Defined in: [packages/core/src/network/relays.ts:110](https://github.com/leifriksheim/minca/blob/main/core/src/network/relays.ts#L110)

A relay's kind, from its URL's scheme; null for a kind this library doesn't speak

## Parameters

| Parameter | Type |
| ------ | ------ |
| `url` | `string` |

## Returns

[`RelayKind`](https://minca.dev/api/core/interfaces/RelayKind.md) \| `null`
