Closed jacoobes closed 2 months ago
ts-results-es, although rich in features, has too many things we don't need anymore, and I've decided to opt in for a simpler in house implementation.
Is there any reason to have the isOk function? couldn't you just check result.ok?
isOk
result.ok
Once you check result.ok, its should infer that the result is { ok: true, value: T }
{ ok: true, value: T }
ts-results-es, although rich in features, has too many things we don't need anymore, and I've decided to opt in for a simpler in house implementation.