happy-rusty
    Preparing search index...

    Variable RESULT_ZEROConst

    RESULT_ZERO: Result<number, never> = ...

    Result constant for 0. Can be used anywhere due to immutability.

    1.3.0

    function count(): Result<number, Error> {
    return RESULT_ZERO;
    }

    const result: Result<number, string> = RESULT_ZERO;
    const value: number = RESULT_ZERO.intoOk(); // Safe extraction