@vsokolov/utils - v1.4.2
    Preparing search index...

    Function isSuccess

    • Type guard that checks if a Result is a Success.

      Type Parameters

      • T
      • E extends Error

      Parameters

      • result: Result<T, E>

        The Result to check

      Returns result is Success<T>

      True if the result is a Success, with proper type narrowing