Appearance
ExtractErr<T> = Extract<T, Err>
T
Extract
Err
Defined in: index.ts:112
Extracts only the Err types from a union type.
The type to extract Err types from
type T1 = ExtractErr<Ok<'x'> | Err<1> | Err<true> | []>; // Err<1> | Err<true>