Const
Result constant for true. Can be used anywhere due to immutability.
true
1.3.0
function validate(): Result<boolean, Error> { return RESULT_TRUE;}const result: Result<boolean, string> = RESULT_TRUE;const value: boolean = RESULT_TRUE.intoOk(); // Safe extraction Copy
function validate(): Result<boolean, Error> { return RESULT_TRUE;}const result: Result<boolean, string> = RESULT_TRUE;const value: boolean = RESULT_TRUE.intoOk(); // Safe extraction
Result constant for
true. Can be used anywhere due to immutability.