Interface: Ok<T>
result/src.Ok
license
MIT
copyright
2020 1Computer
The computation is successful.
Type parameters
Name | Description |
---|---|
T | Type of results. |
Properties
error
• Optional
Readonly
error: undefined
Defined in
projects/utilities/packages/result/src/lib/Lexure.ts:19
success
• Readonly
success: true
If this is an Ok, this is true.
Defined in
projects/utilities/packages/result/src/lib/Lexure.ts:12
value
• Readonly
value: T
The resulting value, which only exists on an Ok.