Result<Success, Failure> represents the outcome of an operation as a single value.
← Swift theorytheory 0/50 · 0%
Fundamentals · medium
31. Result Type
Success or Failure.
Check your understanding
1. Cases of Result?
2. Get value or throw?
Success or Failure.
Result<Success, Failure> represents the outcome of an operation as a single value.
1. Cases of Result?
2. Get value or throw?