Function isOk

  • Is the Result an Ok?

    Type Parameters

    • T

    • E

    Parameters

    • result: Result<T, E>

      The Result to check.

    Returns result is Ok<T, E>

    A type guarded Ok.

    Typeparam

    T The type of the item contained in the Result.

Generated using TypeDoc