function · Browser and Node

# decodeLeaf

`@toip-tools/anon-membership` · [View source](https://github.com/yourbuddyconner/toip-tools/blob/main/packages/anon-membership/src/issuer.ts#L53)

Import:

```ts
import { decodeLeaf } from "@toip-tools/anon-membership";
```

## Declaration

Signature:

```ts
decodeLeaf(j: LeafJson): Leaf;
```

### Parameters

- **`j` (required)**: `LeafJson`

### Returns

`Leaf`

[Usage guide](https://toip.tools/toolkit/anon-membership/#usage) · [Error handling](https://toip.tools/toolkit/anon-membership/#errors) · [All exports](https://toip.tools/toolkit/anon-membership/api/)

---

This is the Markdown version of https://toip.tools/toolkit/anon-membership/api/decodeLeaf/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
