# Result

```ts
type Result = {} | {}
```

A value representing either a successful outcome or an error.

`Result<T>` is used in APIs when you want to make explicit flow control
decisions about success/failure rather than allowing them to
automatically percolate.

A successful result has the shape `{ ok: true, value }` and a failed result
has the shape `{ ok: false, error }`.



### Type Parameters
T

[View code](https://github.com/thefrontside/effection/tree/effection-v4.2.0/lib/result.ts#L13)
