> ## Documentation Index
> Fetch the complete documentation index at: https://thrackle.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# UnwrapEither

> **UnwrapEither**: \<`T`, `U`>(`e`) => `NonNullable`\<`T` | `U`>

## Type Parameters

| Type Parameter |
| -------------- |
| `T`            |
| `U`            |

## Parameters

| Parameter | Type                            |
| --------- | ------------------------------- |
| `e`       | [`Either`](./Either)\<`T`, `U`> |

## Returns

`NonNullable`\<`T` | `U`>

## Defined in

[src/modules/types.ts:298](https://github.com/forte-service-company-ltd/forte-rules-engine-sdk/blob/5aad4d7c3c8cc91280e4449c17ac8ea31219fbed/src/modules/types.ts#L298)
