# Function: usernameFree()

```ts
function usernameFree(text, fetcher?): Promise<boolean | null>;
```

Defined in: [packages/core/src/inbox/names.ts:99](https://github.com/leifriksheim/minca/blob/main/core/src/inbox/names.ts#L99)

Whether a username can be claimed, as its domain answers: nobody holds it,
and the service doesn't keep it back (`reserved`). Null when it couldn't say
(down, slow, or not a name service), so a caller never takes an outage for a
free name.

## Parameters

| Parameter | Type | Default value |
| ------ | ------ | ------ |
| `text` | `string` | `undefined` |
| `fetcher?` | (`input`, `init?`) => `Promise`\<`Response`\> | `globalThis.fetch` |

## Returns

`Promise`\<`boolean` \| `null`\>
