effect-io-ai

Package: effect
Module: Cause

Cause.Done.Extract

Extracts the value type A from a Done<A> that may be nested in an error union.

Signature

type Extract<E> = E extends Done<infer L> ? L : never

Source

Since v4.0.0