Construct a Result containing a success value.

  • Type Parameters

    • T extends {}

      the type of the value

    • E extends {}

      the type of error results

    Parameters

    • value: T

      the value contained by the Result

    Returns Result<T, E>

    a Result containing value

MMNEPVFCICPMFPCPTTAAATR