# Function: parseDelegation()

```ts
function parseDelegation(value): Delegation | null;
```

Defined in: [packages/core/src/identity/ucan.ts:163](https://github.com/leifriksheim/minca/blob/main/core/src/identity/ucan.ts#L163)

A token from the wire, or null when it is not one in its exact shape. A
copy: nothing the caller holds changes it later. The signature is not checked.

## Parameters

| Parameter | Type |
| ------ | ------ |
| `value` | `unknown` |

## Returns

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