rhodonite
    Preparing search index...

    Function assertIsOk

    • Type assertion function to ensure a result is Ok. Throws an error if the result is Err.

      Parameters

      • result: IResult<any, any>

        The result to check

      Returns asserts result is Ok<any, any>

      If the result is Err