TOC Toolkit API - v0.1.0
    Preparing search index...

    Type Alias Result<T, E>

    Result: { isOk: true; value: T } | { isOk: false; error: E }

    The outcome of an operation that can fail in an expected way. A caller reads ok first, and the compiler then gives it the value or the error.

    Type Parameters

    • T
    • E