Half of those are good and the others are not accurate mappings.
We could bring it up in another new thread (because it's not relevant here) but much chat has been had about a more verbose form of the following.
| Specialized to Result |
Same syntax as any other enum |
|---|---|
isSuccess |
is .success |
isFailure |
is .failure |
error |
as? .failure |