Ok
@ts-rust/std / Result / Ok
Type Alias: Ok<T, E>
type Ok<T, E> = Resultant<T, E> & object;
Defined in: packages/std/src/result/interface.ts:12
Represents a successful outcome of a Result, holding a value
of type T
.
Type declaration
Name | Type | Defined in |
---|---|---|
|
|
Type Parameters
Type Parameter |
---|
|
|