Function unwrap

  • Extracts the data from a ValidationResult, throwing if it's a failure Use this when you're confident the result is successful or want to propagate errors

    Type Parameters

    • T
    • E

    Parameters

    Returns T