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

# UnwrapEither

> v0.20.5

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

Defined in: [src/modules/types.ts:713](https://github.com/Forte-Service-Company-Ltd/forte-rules-engine-sdk/blob/40cc8388cecd8ee445b00b9df2b681cff8552ece/src/modules/types.ts#L713)

## Type Parameters

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

## Parameters

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

## Returns

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