mise API - v0.0.0
    Preparing search index...

    Function result_isOk

    • Type guard to check if a Result is successful.

      Type Parameters

      • T

      Parameters

      • result: Result<T>

        The Result to check.

      Returns result is { ok: true; value: T }

      True if the Result contains a value.