Skip to content

Type Alias: Result<T, E>

ts
type Result<T, E> = 
  | Ok<T, E>
| Err<T, E>;

Defined in: result.ts:9

Represents the outcome of an operation that can succeed or fail.

Type Parameters

Type ParameterDefault type
T-
EError